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

    Type Declaration

      • (spec: any): Promise<any>
      • Registers a device key from a JWK proof or an App Attest statement that answers a key challenge.

        The challenge is spent once across the cluster before the proof is verified.

        Parameters

        • spec: any

          username, sessionId, challenge, audience, and proof (a compact JWS) or appAttest: { keyId, attestation }; with deviceId, label, platform, model, os and keyLabel

        Returns Promise<any>

        the register's result, or a refusal { ok: false, status, error }