@gibme/mfa
    Preparing search index...

    Class HOTPAbstract

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Protected

      Returns a URI representation of the config

      Parameters

      Returns string

    • Generates a HOTP token using the supplied configuration values

      Parameters

      Returns [string, Secret]

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

      Parameters

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

      Returns string

    • Returns a URI representation of the config

      Parameters

      Returns string

    • Verifies a HOTP token using the supplied configuration values

      Parameters

      Returns [boolean, null | number]