Uses of Class
org.forgerock.am.oauth2.AccessTokenRequest.Builder
Packages that use AccessTokenRequest.Builder
Package
Description
This package contains the client credentials OAuth2 API.
-
Uses of AccessTokenRequest.Builder in org.forgerock.am.oauth2
Methods in org.forgerock.am.oauth2 that return AccessTokenRequest.BuilderModifier and TypeMethodDescriptionstatic AccessTokenRequest.Builder
AccessTokenRequest.builder()
Provides a builder instance to help construct a new access token request.Sets the client Id.AccessTokenRequest.Builder.clientSecret
(String secret) Sets the client secret.AccessTokenRequest.Builder.grantType
(AccessTokenRequest.GrantType grantType) Sets the realm context in which an access token should be produced.Adds theRequest
that initialised the access token request.Adds the scope to the requested set of scopes.Adds the set of requested scopes to the request.