iya-sts
    Preparing search index...
    optIn: (username: string, kind: unknown, actor: string, via: string) => any = ...

    Type Declaration

      • (username: string, kind: unknown, actor: string, via: string): any
      • Turns a person's emailed second factor on, from /portal/mfa; refused unless it would be usable at once.

        Audited, and a CAEP credential-change is sent.

        Parameters

        • username: string

          the person

        • kind: unknown

          code or link

        • actor: string

          who did it

        • via: string

          the surface it came through

        Returns any

        { ok, kind }, or { ok: false, errors } marked with its code (STS-AUTHN-0247 to STS-AUTHN-0251)