iya-sts
    Preparing search index...

    Class export=

    /portal/mfa. A static utility class.

    Index
    PAGES: PortalPage[] = ...

    The pages, for web_portal_pages.ts.

    • What an authenticator app is, and what it is not.

      Parameters

      • view: any

        the page's view

      • t: any

        the translator

      Returns string

      the card's HTML

    • The recovery codes card, in its four states (see the header).

      Parameters

      • view: any

        the page's view

      • t: any

        the translator

      Returns string

      the card's HTML

    • An instant as a date, YYYY-MM-DD.

      Parameters

      • ms: any

        milliseconds since the epoch

      Returns string

      the date

    • The emailed second factor's card.

      Parameters

      • view: any

        the page's view

      • t: any

        the translator

      Returns string

      the card's HTML, or '' when it is not offered

    • The authenticator app's status card.

      Parameters

      • view: any

        the page's view

      • t: any

        the translator

      Returns string

      the card's HTML

    • A POST form to this page with an action and its fields.

      Parameters

      • action: string

        the action

      • inner: string

        the rest of the form

      • Optionalcls: string

        the form's class, or ''

      Returns string

      the form's HTML

    • The page's body.

      Parameters

      • view: any

        GET /account-api/mfa's answer

      • ctx: any

        the render context

      Returns string

      the HTML

    • The enrolment in progress: the QR code, the secret by hand, and the code that proves it.

      Parameters

      • view: any

        the page's view

      • t: any

        the translator

      Returns string

      the card's HTML, or '' when nothing is being set up

    • The card that starts (or replaces) an authenticator app.

      Parameters

      • view: any

        the page's view

      • t: any

        the translator

      Returns string

      the card's HTML