iya-sts
    Preparing search index...
    issueChallenge: (spec: any) => any = ...

    Type Declaration

      • (spec: any): any
      • Issues a challenge bound to the session and the person, replacing any earlier one this session holds for the same purpose.

        Parameters

        • spec: any

          purpose (key or webauthn), sessionId, username, and detail to carry along (a WebAuthn link's credential and target)

        Returns any

        { ok, challenge, purpose, expiresAt, detail }, or a refusal { ok: false, status, error }