|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 AuthorizationRequest 的软件包 | |
|---|---|
| org.springframework.security.oauth2.provider | |
| org.springframework.security.oauth2.provider.approval | |
| org.springframework.security.oauth2.provider 中 AuthorizationRequest 的使用 |
|---|
| 返回 AuthorizationRequest 的 org.springframework.security.oauth2.provider 中的方法 | |
|---|---|
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. |
AuthorizationRequest |
DefaultOAuth2RequestFactory.createAuthorizationRequest(Map<String,String> authorizationParameters)
|
| 参数类型为 AuthorizationRequest 的 org.springframework.security.oauth2.provider 中的方法 | |
|---|---|
OAuth2Request |
OAuth2RequestFactory.createOAuth2Request(AuthorizationRequest request)
Create a new OAuth2Request by extracting the needed information from the current
AuthorizationRequest object. |
OAuth2Request |
DefaultOAuth2RequestFactory.createOAuth2Request(AuthorizationRequest request)
|
TokenRequest |
OAuth2RequestFactory.createTokenRequest(AuthorizationRequest authorizationRequest,
String grantType)
Create a new TokenRequest from an AuthorizationRequest. |
TokenRequest |
DefaultOAuth2RequestFactory.createTokenRequest(AuthorizationRequest authorizationRequest,
String grantType)
|
| org.springframework.security.oauth2.provider.approval 中 AuthorizationRequest 的使用 |
|---|
| 返回 AuthorizationRequest 的 org.springframework.security.oauth2.provider.approval 中的方法 | |
|---|---|
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 |
TokenServicesUserApprovalHandler.checkForPreApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
|
AuthorizationRequest |
DefaultUserApprovalHandler.checkForPreApproval(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 before it is checked for approval in cases where the incoming approval parameters contain richer information than just true/false (e.g. some scopes are approved, and others are rejected), implementations may need to be able to modify the AuthorizationRequest before a
token is generated from it. |
AuthorizationRequest |
TokenServicesUserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
|
AuthorizationRequest |
DefaultUserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
|
| 参数类型为 AuthorizationRequest 的 org.springframework.security.oauth2.provider.approval 中的方法 | |
|---|---|
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 |
TokenServicesUserApprovalHandler.checkForPreApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
|
AuthorizationRequest |
DefaultUserApprovalHandler.checkForPreApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
|
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). |
boolean |
TokenServicesUserApprovalHandler.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 |
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. |
AuthorizationRequest |
UserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
Provides an opportunity to update the authorization request before it is checked for approval in cases where the incoming approval parameters contain richer information than just true/false (e.g. some scopes are approved, and others are rejected), implementations may need to be able to modify the AuthorizationRequest before a
token is generated from it. |
AuthorizationRequest |
TokenServicesUserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
|
AuthorizationRequest |
DefaultUserApprovalHandler.updateAfterApproval(AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||