iya-sts
    Preparing search index...

    Variable beginFirstFactor

    beginFirstFactor: (
        req: any,
        res: any,
        base: string,
        record: any,
        username: string,
        kind: Kind,
    ) => Promise<void> = ...

    Type Declaration

      • (
            req: any,
            res: any,
            base: string,
            record: any,
            username: string,
            kind: Kind,
        ): Promise<void>
      • Starts an emailed code or link as a first factor from the sign-in screen.

        Every reason a real sign-in cannot proceed (no account, no verified address, a disabled account) gets the same page on a decoy step that no code can finish, and nothing is mailed; the refusal is audited.

        Parameters

        • req: any

          the request

        • res: any

          the response, which this writes

        • base: string

          the service's base URL

        • record: any

          the pending authorization record

        • username: string

          the name typed on the sign-in screen

        • kind: Kind

          code or link

        Returns Promise<void>