Modifier and Type | Method and Description |
---|---|
TokenRequest |
OAuth2RequestFactory.createTokenRequest(AuthorizationRequest authorizationRequest,
String grantType)
Create a new
TokenRequest from an AuthorizationRequest . |
TokenRequest |
OAuth2RequestFactory.createTokenRequest(Map<String,String> requestParameters,
ClientDetails authenticatedClient)
Create a new
TokenRequest by extracting the needed information from the incoming request parameter map. |
TokenRequest |
OAuth2Request.getRefreshTokenRequest()
If this request was for an access token to be refreshed, then the
TokenRequest that led to the refresh
may be available here if it is known. |
Modifier and Type | Method and Description |
---|---|
OAuth2Request |
OAuth2RequestFactory.createOAuth2Request(ClientDetails client,
TokenRequest tokenRequest)
Create a new
OAuth2Request by extracting the needed information from the current TokenRequest
object. |
OAuth2AccessToken |
CompositeTokenGranter.grant(String grantType,
TokenRequest tokenRequest) |
OAuth2AccessToken |
TokenGranter.grant(String grantType,
TokenRequest tokenRequest) |
OAuth2Request |
OAuth2Request.refresh(TokenRequest tokenRequest) |
void |
OAuth2RequestValidator.validateScope(TokenRequest tokenRequest,
ClientDetails client)
Ensure that the client has requested a valid set of scopes.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
ClientCredentialsTokenGranter.grant(String grantType,
TokenRequest tokenRequest) |
Modifier and Type | Method and Description |
---|---|
protected OAuth2Authentication |
AuthorizationCodeTokenGranter.getOAuth2Authentication(ClientDetails client,
TokenRequest tokenRequest) |
Modifier and Type | Class and Description |
---|---|
class |
ImplicitTokenRequest |
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<TokenRequest,OAuth2Request> |
InMemoryImplicitGrantService.requestStore |
Modifier and Type | Method and Description |
---|---|
protected OAuth2Authentication |
ImplicitTokenGranter.getOAuth2Authentication(ClientDetails client,
TokenRequest clientToken) |
OAuth2Request |
InMemoryImplicitGrantService.remove(TokenRequest tokenRequest) |
OAuth2Request |
ImplicitGrantService.remove(TokenRequest tokenRequest)
Deprecated.
Look up and return the OAuth2Request associated with the given TokenRequest.
|
void |
InMemoryImplicitGrantService.store(OAuth2Request originalRequest,
TokenRequest tokenRequest) |
void |
ImplicitGrantService.store(OAuth2Request originalRequest,
TokenRequest tokenRequest)
Deprecated.
Save an association between an OAuth2Request and a TokenRequest.
|
Constructor and Description |
---|
ImplicitTokenRequest(TokenRequest tokenRequest,
OAuth2Request oauth2Request) |
Modifier and Type | Method and Description |
---|---|
protected OAuth2Authentication |
ResourceOwnerPasswordTokenGranter.getOAuth2Authentication(ClientDetails client,
TokenRequest tokenRequest) |
Modifier and Type | Method and Description |
---|---|
protected OAuth2AccessToken |
RefreshTokenGranter.getAccessToken(ClientDetails client,
TokenRequest tokenRequest) |
Modifier and Type | Method and Description |
---|---|
TokenRequest |
DefaultOAuth2RequestFactory.createTokenRequest(AuthorizationRequest authorizationRequest,
String grantType) |
TokenRequest |
DefaultOAuth2RequestFactory.createTokenRequest(Map<String,String> requestParameters,
ClientDetails authenticatedClient) |
Modifier and Type | Method and Description |
---|---|
OAuth2Request |
DefaultOAuth2RequestFactory.createOAuth2Request(ClientDetails client,
TokenRequest tokenRequest) |
void |
DefaultOAuth2RequestValidator.validateScope(TokenRequest tokenRequest,
ClientDetails client) |
Modifier and Type | Method and Description |
---|---|
protected OAuth2AccessToken |
AbstractTokenGranter.getAccessToken(ClientDetails client,
TokenRequest tokenRequest) |
protected OAuth2Authentication |
AbstractTokenGranter.getOAuth2Authentication(ClientDetails client,
TokenRequest tokenRequest) |
OAuth2AccessToken |
AbstractTokenGranter.grant(String grantType,
TokenRequest tokenRequest) |
OAuth2AccessToken |
DefaultTokenServices.refreshAccessToken(String refreshTokenValue,
TokenRequest tokenRequest) |
OAuth2AccessToken |
AuthorizationServerTokenServices.refreshAccessToken(String refreshToken,
TokenRequest tokenRequest)
Refresh an access token.
|
Copyright © 2019. All rights reserved.