@gibme/mfa
    Preparing search index...

    Class TOTPAbstract

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Protected

      Returns a URI representation of the config

      Parameters

      Returns string

    • Returns a QR code URL that will provide a scalable QR code of the config

      Parameters

      • config: Partial<TOTP.Config<string | Secret>> = {}
      • width: number = 256
      • height: number = 256

      Returns string

    • Verifies a TOTP token using the supplied configuration values

      Parameters

      Returns [boolean, null | number]