IO Wallet SDK
    Preparing search index...
    • Derives the SDK signer descriptor from a decoded JWT header and payload.

      Parameters

      • options: {
            allowedSignerMethods?: ("custom" | "x5c" | "did" | "jwk" | "federation")[];
            header: Pick<JwtHeader, "alg" | "jwk" | "kid" | "trust_chain" | "x5c">;
            payload: Pick<JwtPayload, "iss">;
        }
        • OptionalallowedSignerMethods?: ("custom" | "x5c" | "did" | "jwk" | "federation")[]

          Signer methods accepted by the caller; all are allowed when omitted.

        • header: Pick<JwtHeader, "alg" | "jwk" | "kid" | "trust_chain" | "x5c">

          Decoded JWT header.

        • payload: Pick<JwtPayload, "iss">

          Decoded JWT payload.

      Returns JwtSigner

      The first valid, allowed signer found in the JWT.

      If no allowed signer can be extracted from the JWT.