jose/docs/interfaces/jwt_verify.JWTVerifyGetKey.md
2022-02-22 10:53:45 +01:00

855 B

Interface: JWTVerifyGetKey

Callable

JWTVerifyGetKey

JWTVerifyGetKey(protectedHeader, token): KeyLike | Uint8Array | Promise<KeyLike | Uint8Array>

Interface for JWT Verification dynamic key resolution. No token components have been verified at the time of this function call.

See createRemoteJWKSet to verify using a remote JSON Web Key Set.

Parameters

Name Type
protectedHeader JWTHeaderParameters
token FlattenedJWSInput

Returns

KeyLike | Uint8Array | Promise<KeyLike | Uint8Array>