iya-sts
    Preparing search index...
    assign: (spec: any) => Promise<any> = ...

    Type Declaration

      • (spec: any): Promise<any>
      • Assigns an unassigned token to a person, spending the OTP they present.

        Parameters

        • spec: any

          { serial, username, otp, actor, via }

        Returns Promise<any>

        a promise of { ok, token }, or a refusal