UNPKG

@sphereon/oid4vc-common

Version:

OpenID 4 Verifiable Credentials Common

23 lines 641 B
import { JwtHeader as jwtDecodeJwtHeader, JwtPayload as jwtDecodePayload } from 'jwt-decode'; import { JWK } from '.'; export type JwtHeader = jwtDecodeJwtHeader & { alg?: string; x5c?: string[]; kid?: string; jwk?: JWK; jwt?: string; } & Record<string, unknown>; export type JwtPayload = jwtDecodePayload & { client_id?: string; nonce?: string; request_uri?: string; client_id_scheme?: string; } & Record<string, unknown>; export declare enum SigningAlgo { EDDSA = "EdDSA", RS256 = "RS256", PS256 = "PS256", ES256 = "ES256", ES256K = "ES256K" } //# sourceMappingURL=Jwt.types.d.ts.map