Package org.forgerock.openig.fapi.jwks
Interface JwkSetService
- All Known Implementing Classes:
CachingJwkSetService
public interface JwkSetService
Service providing access to JWK set stores in support of FAPI operations. Note that implementors should expect
Purpose
s as below to retrieve secrets from its stores:
JwkSetServicePurposes.signingPurpose()
to retrieve signing keysJwkSetServicePurposes.transportPurpose()
to retrieve transport keys
purposes
to retrieve secrets on the underlying store.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetJwkSetSecretStore
(URI jwkSetUri) Retrieves aJwkSetSecretStore
for the JWK Set hosted at the specified uri.
-
Method Details
-
getJwkSetSecretStore
Retrieves aJwkSetSecretStore
for the JWK Set hosted at the specified uri. The secret store returned can be used to verify signatures of JWTs.- Parameters:
jwkSetUri
- URI used to locate the JWK Set.- Returns:
- Promise containing a
JwkSetSecretStore
or aFailedToLoadJWKException
if there was an error retrieving the JWK Set.
-