|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 OAuth2Request 的软件包 | |
|---|---|
| org.springframework.security.oauth2.provider | |
| org.springframework.security.oauth2.provider.implicit | |
| org.springframework.security.oauth2.provider.token | |
| org.springframework.security.oauth2.provider 中 OAuth2Request 的使用 |
|---|
| 返回 OAuth2Request 的 org.springframework.security.oauth2.provider 中的方法 | |
|---|---|
OAuth2Request |
AuthorizationRequest.createOAuth2Request()
|
OAuth2Request |
OAuth2RequestFactory.createOAuth2Request(AuthorizationRequest request)
Create a new OAuth2Request by extracting the needed information from the current
AuthorizationRequest object. |
OAuth2Request |
DefaultOAuth2RequestFactory.createOAuth2Request(AuthorizationRequest request)
|
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 |
DefaultOAuth2RequestFactory.createOAuth2Request(ClientDetails client,
TokenRequest tokenRequest)
|
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 的 org.springframework.security.oauth2.provider 中的构造方法 | |
|---|---|
OAuth2Authentication(OAuth2Request clientAuthentication,
org.springframework.security.core.Authentication userAuthentication)
Construct an OAuth 2 authentication. |
|
OAuth2Request(OAuth2Request other)
|
|
| org.springframework.security.oauth2.provider.implicit 中 OAuth2Request 的使用 |
|---|
| 类型参数类型为 OAuth2Request 的 org.springframework.security.oauth2.provider.implicit 中的字段 | |
|---|---|
protected ConcurrentHashMap<TokenRequest,OAuth2Request> |
InMemoryImplicitGrantService.requestStore
|
| 返回 OAuth2Request 的 org.springframework.security.oauth2.provider.implicit 中的方法 | |
|---|---|
OAuth2Request |
InMemoryImplicitGrantService.remove(TokenRequest tokenRequest)
|
OAuth2Request |
ImplicitGrantService.remove(TokenRequest tokenRequest)
Look up and return the OAuth2Request associated with the given TokenRequest. |
| 参数类型为 OAuth2Request 的 org.springframework.security.oauth2.provider.implicit 中的方法 | |
|---|---|
void |
InMemoryImplicitGrantService.store(OAuth2Request originalRequest,
TokenRequest tokenRequest)
|
void |
ImplicitGrantService.store(OAuth2Request originalRequest,
TokenRequest tokenRequest)
Save an association between an OAuth2Request and a TokenRequest. |
| org.springframework.security.oauth2.provider.token 中 OAuth2Request 的使用 |
|---|
| 参数类型为 OAuth2Request 的 org.springframework.security.oauth2.provider.token 中的方法 | |
|---|---|
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. |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||