DWS Packages
    Preparing search index...

    Function buildOtpauthUrl

    • Builds an otpauth://... provisioning URI (Key Uri Format) for QR-code enrolment.

      Supports both totp (with a period) and hotp (with a counter) credentials. The OTPAlgorithm value is normalised to the dash-less spelling the URI format expects (SHA-1SHA1).

      Parameters

      Returns string

      The otpauth:// URI.