Modifier and Type | Method and Description |
---|---|
AuthorizationRequest |
OAuth2RequestFactory.createAuthorizationRequest(Map<String,String> authorizationParameters)
Create a new
AuthorizationRequest extracting all the needed information from the incoming parameter map,
and initializing all individual fields on the AuthorizationRequest to reasonable values. |
Modifier and Type | Method and Description |
---|---|
OAuth2Request |
OAuth2RequestFactory.createOAuth2Request(AuthorizationRequest request)
Create a new
OAuth2Request by extracting the needed information from the current
AuthorizationRequest object. |
TokenRequest |
OAuth2RequestFactory.createTokenRequest(AuthorizationRequest authorizationRequest,
String grantType)
Create a new
TokenRequest from an AuthorizationRequest . |
void |
OAuth2RequestValidator.validateScope(AuthorizationRequest authorizationRequest,
ClientDetails client)
Ensure that the client has requested a valid set of scopes.
|
Modifier and Type | Method and Description |
---|---|
AuthorizationRequest |
DefaultUserApprovalHandler.checkForPreApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
AuthorizationRequest |
ApprovalStoreUserApprovalHandler.checkForPreApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
AuthorizationRequest |
TokenStoreUserApprovalHandler.checkForPreApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
AuthorizationRequest |
UserApprovalHandler.checkForPreApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
Provides a hook for allowing requests to be pre-approved (skipping the User
Approval Page).
|
AuthorizationRequest |
DefaultUserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
AuthorizationRequest |
ApprovalStoreUserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
Requires the authorization request to be explicitly approved, including all individual scopes, and the user to be
authenticated.
|
AuthorizationRequest |
TokenStoreUserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
AuthorizationRequest |
UserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
Provides an opportunity to update the authorization request after the
approval parameters are set
but before it is checked for approval. |
Modifier and Type | Method and Description |
---|---|
AuthorizationRequest |
DefaultUserApprovalHandler.checkForPreApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
AuthorizationRequest |
ApprovalStoreUserApprovalHandler.checkForPreApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
AuthorizationRequest |
TokenStoreUserApprovalHandler.checkForPreApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
AuthorizationRequest |
UserApprovalHandler.checkForPreApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
Provides a hook for allowing requests to be pre-approved (skipping the User
Approval Page).
|
Map<String,Object> |
DefaultUserApprovalHandler.getUserApprovalRequest(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
Map<String,Object> |
ApprovalStoreUserApprovalHandler.getUserApprovalRequest(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
Map<String,Object> |
TokenStoreUserApprovalHandler.getUserApprovalRequest(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
Map<String,Object> |
UserApprovalHandler.getUserApprovalRequest(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
Generate a request for the authorization server to ask for the user's approval.
|
boolean |
DefaultUserApprovalHandler.isApproved(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
Basic implementation just requires the authorization request to be explicitly approved and the user to be
authenticated.
|
boolean |
ApprovalStoreUserApprovalHandler.isApproved(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
boolean |
TokenStoreUserApprovalHandler.isApproved(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
Basic implementation just requires the authorization request to be explicitly approved and the user to be
authenticated.
|
boolean |
UserApprovalHandler.isApproved(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
Tests whether the specified authorization request has been approved by the current
user (if there is one).
|
AuthorizationRequest |
DefaultUserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
AuthorizationRequest |
ApprovalStoreUserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
Requires the authorization request to be explicitly approved, including all individual scopes, and the user to be
authenticated.
|
AuthorizationRequest |
TokenStoreUserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication) |
AuthorizationRequest |
UserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
Provides an opportunity to update the authorization request after the
approval parameters are set
but before it is checked for approval. |
Modifier and Type | Method and Description |
---|---|
AuthorizationRequest |
DefaultOAuth2RequestFactory.createAuthorizationRequest(Map<String,String> authorizationParameters) |
Modifier and Type | Method and Description |
---|---|
OAuth2Request |
DefaultOAuth2RequestFactory.createOAuth2Request(AuthorizationRequest request) |
TokenRequest |
DefaultOAuth2RequestFactory.createTokenRequest(AuthorizationRequest authorizationRequest,
String grantType) |
void |
DefaultOAuth2RequestValidator.validateScope(AuthorizationRequest authorizationRequest,
ClientDetails client) |
Copyright © 2019. All rights reserved.