Uses of Class
org.forgerock.secrets.oauth2.AccessTokenSecretStore.Builder
Packages that use 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
Methods in org.forgerock.secrets.oauth2 that return AccessTokenSecretStore.BuilderModifier 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) Deprecated, for removal: This API element is subject to removal in a future version.AccessTokenSecretStore.Builder.withClientSecretBasicAuth(CredentialPair<GenericSecret> credentials) Configures the token store to supply client credentials via HTTP Basic Authentication.AccessTokenSecretStore.Builder.withClientSecretPostAuth(String clientId, SecretReference<GenericSecret> clientSecretRef) Deprecated, for removal: This API element is subject to removal in a future version.usewithClientSecretPostAuth(CredentialPair)insteadAccessTokenSecretStore.Builder.withClientSecretPostAuth(CredentialPair<GenericSecret> credentials) 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 theHandlerto 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.
withClientSecretBasicAuth(CredentialPair)instead