Uses of Class
org.forgerock.secrets.oauth2.AccessTokenSecretStore.Builder
Package
Description
A Secrets API backend that can obtain OAuth 2 access tokens from a token endpoint, along with a collection of
grant type handlers.
-
Uses of AccessTokenSecretStore.Builder in org.forgerock.secrets.oauth2
Modifier and TypeMethodDescriptionAccessTokenSecretStore.builder()
Creates a builder for the access token secret store.AccessTokenSecretStore.Builder.forPurpose
(Purpose<GenericSecret> purpose) Configures the purpose for which this access token store is to be used.AccessTokenSecretStore.Builder.withClientSecretBasicAuth
(String clientId, SecretReference<GenericSecret> clientSecretRef) Configures the token store to supply client credentials via HTTP Basic Authentication.AccessTokenSecretStore.Builder.withClientSecretPostAuth
(String clientId, SecretReference<GenericSecret> clientSecretRef) Configures the token store to supply client credentials via client_secret_post method.The clock to use for determining when an access token has expired.AccessTokenSecretStore.Builder.withHandler
(Handler handler) Configures theHandler
to use for sending requests to the token endpoint.AccessTokenSecretStore.Builder.withInitialGrantTypeHandler
(GrantTypeHandler grantType) Configures the initial grant type handler to use for calling the token endpoint.AccessTokenSecretStore.Builder.withTokenEndpoint
(String tokenEndpoint) Configures the URI of the OAuth 2 token endpoint to call to obtain access tokens.AccessTokenSecretStore.Builder.withTokenEndpoint
(URI tokenEndpoint) Configures the URI of the OAuth 2 token endpoint to call to obtain access tokens.