iya-sts
    Preparing search index...

    Variable qrSvgDataUri

    qrSvgDataUri: (uri: unknown) => Promise<string> = ...

    Type Declaration

      • (uri: unknown): Promise<string>
      • Draws a URI as a QR code on the server, as an SVG data URI, so the portal needs no script.

        Parameters

        • uri: unknown

          the text to encode, usually from otpauthUri()

        Returns Promise<string>

        a promise of the data:image/svg+xml;base64, URI