Back to Jose

Interface: LocalJWKSet()

docs/jwks/local/interfaces/LocalJWKSet.md

6.2.91.6 KB
Original Source

Interface: LocalJWKSet()

šŸ’— Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.

The key resolution function returned by createLocalJWKSet.

See

jwtVerify and the other consuming functions, all of which accept this directly.

ā–ø LocalJWKSet(protectedHeader?, token?): Promise<CryptoKey>

The key resolution function returned by createLocalJWKSet.

Parameters

ParameterType
protectedHeader?JWSHeaderParameters
token?FlattenedJWSInput

Returns

Promise<CryptoKey>

See

jwtVerify and the other consuming functions, all of which accept this directly.

Properties

jwks

• jwks: () => JSONWebKeySet

Returns a structured clone of the JSON Web Key Set this resolver was created with.

Returns

JSONWebKeySet