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
Purposes 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 aJwkSetSecretStorefor the JWK Set hosted at the specified uri.
-
Method Details
-
getJwkSetSecretStore
Retrieves aJwkSetSecretStorefor 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
JwkSetSecretStoreor aFailedToLoadJWKExceptionif there was an error retrieving the JWK Set.
-