jose/docs/interfaces/jws_compact_verify.compactverifygetkey.md
2021-04-09 22:07:07 +02:00

1.4 KiB

Interface: CompactVerifyGetKey

jws/compact/verify.CompactVerifyGetKey

Interface for Compact JWS 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.

Hierarchy

Callable

CompactVerifyGetKey(protectedHeader: JWSHeaderParameters, token: FlattenedJWSInput): Promise<KeyLike>

Interface for Compact JWS 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 JWSHeaderParameters
token FlattenedJWSInput

Returns: Promise<KeyLike>

Defined in: types.d.ts:78