Uses of Class
org.forgerock.am.oauth2.AccessTokenRequest.Builder
Package
Description
This package contains the client credentials OAuth2 API.
-
Uses of AccessTokenRequest.Builder in org.forgerock.am.oauth2
Modifier 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.