Modifier and Type | Method and Description |
---|---|
OAuth2Request |
AuthorizationRequest.createOAuth2Request() |
OAuth2Request |
OAuth2RequestFactory.createOAuth2Request(AuthorizationRequest request)
Create a new
OAuth2Request by extracting the needed information from the current
AuthorizationRequest object. |
OAuth2Request |
TokenRequest.createOAuth2Request(ClientDetails client) |
OAuth2Request |
OAuth2RequestFactory.createOAuth2Request(ClientDetails client,
TokenRequest tokenRequest)
Create a new
OAuth2Request by extracting the needed information from the current TokenRequest
object. |
OAuth2Request |
OAuth2Request.createOAuth2Request(Map<String,String> parameters)
Update the request parameters and return a new object with the same properties except the parameters.
|
OAuth2Request |
OAuth2Authentication.getOAuth2Request()
The authorization request containing details of the client application.
|
OAuth2Request |
OAuth2Request.narrowScope(Set<String> scope)
Update the scope and create a new request.
|
OAuth2Request |
OAuth2Request.refresh(TokenRequest tokenRequest) |
Constructor and Description |
---|
OAuth2Authentication(OAuth2Request storedRequest,
org.springframework.security.core.Authentication userAuthentication)
Construct an OAuth 2 authentication.
|
OAuth2Request(OAuth2Request other) |
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<TokenRequest,OAuth2Request> |
InMemoryImplicitGrantService.requestStore |
Modifier and Type | Method and Description |
---|---|
OAuth2Request |
ImplicitTokenRequest.getOAuth2Request() |
OAuth2Request |
InMemoryImplicitGrantService.remove(TokenRequest tokenRequest) |
OAuth2Request |
ImplicitGrantService.remove(TokenRequest tokenRequest)
Deprecated.
Look up and return the OAuth2Request associated with the given TokenRequest.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
OAuth2Request |
DefaultOAuth2RequestFactory.createOAuth2Request(AuthorizationRequest request) |
OAuth2Request |
DefaultOAuth2RequestFactory.createOAuth2Request(ClientDetails client,
TokenRequest tokenRequest) |
Modifier and Type | Method and Description |
---|---|
protected int |
DefaultTokenServices.getAccessTokenValiditySeconds(OAuth2Request clientAuth)
The access token validity period in seconds
|
protected int |
DefaultTokenServices.getRefreshTokenValiditySeconds(OAuth2Request clientAuth)
The refresh token validity period in seconds
|
protected boolean |
DefaultTokenServices.isSupportRefreshToken(OAuth2Request clientAuth)
Is a refresh token supported for this client (or the global setting if
clientDetailsService is not set. |
Copyright © 2019. All rights reserved.