接口 org.springframework.security.oauth2.common.OAuth2AccessToken
的使用

使用 OAuth2AccessToken 的软件包
org.springframework.security.oauth2.client   
org.springframework.security.oauth2.client.test   
org.springframework.security.oauth2.client.token   
org.springframework.security.oauth2.client.token.grant.client   
org.springframework.security.oauth2.client.token.grant.code   
org.springframework.security.oauth2.client.token.grant.implicit   
org.springframework.security.oauth2.client.token.grant.password   
org.springframework.security.oauth2.common   
org.springframework.security.oauth2.http.converter   
org.springframework.security.oauth2.http.converter.jaxb   
org.springframework.security.oauth2.provider   
org.springframework.security.oauth2.provider.client   
org.springframework.security.oauth2.provider.endpoint   
org.springframework.security.oauth2.provider.refresh   
org.springframework.security.oauth2.provider.token   
 

org.springframework.security.oauth2.clientOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.client 中的方法
protected  OAuth2AccessToken OAuth2RestTemplate.acquireAccessToken(OAuth2ClientContext oauth2Context)
           
 OAuth2AccessToken OAuth2RestTemplate.getAccessToken()
          Acquire or renew an access token for the current context if necessary.
 OAuth2AccessToken OAuth2RestOperations.getAccessToken()
           
 OAuth2AccessToken OAuth2ClientContext.getAccessToken()
           
 OAuth2AccessToken DefaultOAuth2ClientContext.getAccessToken()
           
 

参数类型为 OAuth2AccessTokenorg.springframework.security.oauth2.client 中的方法
protected  URI OAuth2RestTemplate.appendQueryParameter(URI uri, OAuth2AccessToken accessToken)
           
 void OAuth2ClientContext.setAccessToken(OAuth2AccessToken accessToken)
           
 void DefaultOAuth2ClientContext.setAccessToken(OAuth2AccessToken accessToken)
           
 

参数类型为 OAuth2AccessTokenorg.springframework.security.oauth2.client 中的构造方法
DefaultOAuth2ClientContext(OAuth2AccessToken accessToken)
           
 

org.springframework.security.oauth2.client.testOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.client.test 中的方法
 OAuth2AccessToken OAuth2ContextSetup.getAccessToken()
          Get the current access token.
 

org.springframework.security.oauth2.client.tokenOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.client.token 中的方法
 OAuth2AccessToken JdbcClientTokenServices.getAccessToken(OAuth2ProtectedResourceDetails resource, org.springframework.security.core.Authentication authentication)
           
 OAuth2AccessToken ClientTokenServices.getAccessToken(OAuth2ProtectedResourceDetails resource, org.springframework.security.core.Authentication authentication)
          Retrieve the access token for a given resource and user authentication (my be null).
 OAuth2AccessToken DefaultAccessTokenRequest.getExistingToken()
           
 OAuth2AccessToken AccessTokenRequest.getExistingToken()
           
 OAuth2AccessToken AccessTokenProviderChain.obtainAccessToken(OAuth2ProtectedResourceDetails resource, AccessTokenRequest request)
           
 OAuth2AccessToken AccessTokenProvider.obtainAccessToken(OAuth2ProtectedResourceDetails details, AccessTokenRequest parameters)
          Obtain a new access token for the specified protected resource.
protected  OAuth2AccessToken AccessTokenProviderChain.obtainNewAccessTokenInternal(OAuth2ProtectedResourceDetails details, AccessTokenRequest request)
           
 OAuth2AccessToken AccessTokenProviderChain.refreshAccessToken(OAuth2ProtectedResourceDetails resource, OAuth2RefreshToken refreshToken, AccessTokenRequest request)
          Obtain a new access token for the specified resource using the refresh token.
 OAuth2AccessToken AccessTokenProvider.refreshAccessToken(OAuth2ProtectedResourceDetails resource, OAuth2RefreshToken refreshToken, AccessTokenRequest request)
           
protected  OAuth2AccessToken OAuth2AccessTokenSupport.retrieveToken(org.springframework.util.MultiValueMap<String,String> form, org.springframework.http.HttpHeaders headers, OAuth2ProtectedResourceDetails resource)
           
 

返回变量类型为 OAuth2AccessToken 的类型的 org.springframework.security.oauth2.client.token 中的方法
protected  org.springframework.web.client.ResponseExtractor<OAuth2AccessToken> OAuth2AccessTokenSupport.getResponseExtractor()
           
 

参数类型为 OAuth2AccessTokenorg.springframework.security.oauth2.client.token 中的方法
 void JdbcClientTokenServices.saveAccessToken(OAuth2ProtectedResourceDetails resource, org.springframework.security.core.Authentication authentication, OAuth2AccessToken accessToken)
           
 void ClientTokenServices.saveAccessToken(OAuth2ProtectedResourceDetails resource, org.springframework.security.core.Authentication authentication, OAuth2AccessToken accessToken)
          Save or update the access token for this resource and authentication (may be null).
 void DefaultAccessTokenRequest.setExistingToken(OAuth2AccessToken existingToken)
           
 void AccessTokenRequest.setExistingToken(OAuth2AccessToken existingToken)
           
 

org.springframework.security.oauth2.client.token.grant.clientOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.client.token.grant.client 中的方法
 OAuth2AccessToken ClientCredentialsAccessTokenProvider.obtainAccessToken(OAuth2ProtectedResourceDetails details, AccessTokenRequest request)
           
 OAuth2AccessToken ClientCredentialsAccessTokenProvider.refreshAccessToken(OAuth2ProtectedResourceDetails resource, OAuth2RefreshToken refreshToken, AccessTokenRequest request)
           
 

org.springframework.security.oauth2.client.token.grant.codeOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.client.token.grant.code 中的方法
 OAuth2AccessToken AuthorizationCodeAccessTokenProvider.obtainAccessToken(OAuth2ProtectedResourceDetails details, AccessTokenRequest request)
           
 OAuth2AccessToken AuthorizationCodeAccessTokenProvider.refreshAccessToken(OAuth2ProtectedResourceDetails resource, OAuth2RefreshToken refreshToken, AccessTokenRequest request)
           
 

org.springframework.security.oauth2.client.token.grant.implicitOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.client.token.grant.implicit 中的方法
 OAuth2AccessToken ImplicitAccessTokenProvider.obtainAccessToken(OAuth2ProtectedResourceDetails details, AccessTokenRequest request)
           
 OAuth2AccessToken ImplicitAccessTokenProvider.refreshAccessToken(OAuth2ProtectedResourceDetails resource, OAuth2RefreshToken refreshToken, AccessTokenRequest request)
           
 

返回变量类型为 OAuth2AccessToken 的类型的 org.springframework.security.oauth2.client.token.grant.implicit 中的方法
protected  org.springframework.web.client.ResponseExtractor<OAuth2AccessToken> ImplicitAccessTokenProvider.getResponseExtractor()
           
 

org.springframework.security.oauth2.client.token.grant.passwordOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.client.token.grant.password 中的方法
 OAuth2AccessToken ResourceOwnerPasswordAccessTokenProvider.obtainAccessToken(OAuth2ProtectedResourceDetails details, AccessTokenRequest request)
           
 OAuth2AccessToken ResourceOwnerPasswordAccessTokenProvider.refreshAccessToken(OAuth2ProtectedResourceDetails resource, OAuth2RefreshToken refreshToken, AccessTokenRequest request)
           
 

org.springframework.security.oauth2.commonOAuth2AccessToken 的使用
 

实现 OAuth2AccessTokenorg.springframework.security.oauth2.common 中的类
 class DefaultOAuth2AccessToken
          Basic access token for OAuth 2.
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.common 中的方法
 OAuth2AccessToken OAuth2AccessTokenJackson2Deserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
           
 OAuth2AccessToken OAuth2AccessTokenJackson1Deserializer.deserialize(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt)
           
static OAuth2AccessToken DefaultOAuth2AccessToken.valueOf(Map<String,String> tokenParams)
           
 

参数类型为 OAuth2AccessTokenorg.springframework.security.oauth2.common 中的方法
 void OAuth2AccessTokenJackson2Serializer.serialize(OAuth2AccessToken token, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
           
 void OAuth2AccessTokenJackson1Serializer.serialize(OAuth2AccessToken token, org.codehaus.jackson.JsonGenerator jgen, org.codehaus.jackson.map.SerializerProvider provider)
           
 

参数类型为 OAuth2AccessTokenorg.springframework.security.oauth2.common 中的构造方法
DefaultOAuth2AccessToken(OAuth2AccessToken accessToken)
          Copy constructor for access token.
 

org.springframework.security.oauth2.http.converterOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.http.converter 中的方法
protected  OAuth2AccessToken FormOAuth2AccessTokenMessageConverter.readInternal(Class<? extends OAuth2AccessToken> clazz, org.springframework.http.HttpInputMessage inputMessage)
           
 

参数类型为 OAuth2AccessTokenorg.springframework.security.oauth2.http.converter 中的方法
protected  void FormOAuth2AccessTokenMessageConverter.writeInternal(OAuth2AccessToken accessToken, org.springframework.http.HttpOutputMessage outputMessage)
           
 

类型变量类型为 OAuth2AccessTokenorg.springframework.security.oauth2.http.converter 中的方法参数
protected  OAuth2AccessToken FormOAuth2AccessTokenMessageConverter.readInternal(Class<? extends OAuth2AccessToken> clazz, org.springframework.http.HttpInputMessage inputMessage)
           
 

org.springframework.security.oauth2.http.converter.jaxbOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.http.converter.jaxb 中的方法
protected  OAuth2AccessToken JaxbOAuth2AccessTokenMessageConverter.convertToExternal(org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2AccessToken jaxbAccessToken)
           
 

参数类型为 OAuth2AccessTokenorg.springframework.security.oauth2.http.converter.jaxb 中的方法
protected  org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2AccessToken JaxbOAuth2AccessTokenMessageConverter.convertToInternal(OAuth2AccessToken accessToken)
           
 

org.springframework.security.oauth2.providerOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.provider 中的方法
 OAuth2AccessToken TokenGranter.grant(String grantType, TokenRequest tokenRequest)
           
 OAuth2AccessToken CompositeTokenGranter.grant(String grantType, TokenRequest tokenRequest)
           
 

org.springframework.security.oauth2.provider.clientOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.provider.client 中的方法
 OAuth2AccessToken ClientCredentialsTokenGranter.grant(String grantType, TokenRequest tokenRequest)
           
 

org.springframework.security.oauth2.provider.endpointOAuth2AccessToken 的使用
 

返回变量类型为 OAuth2AccessToken 的类型的 org.springframework.security.oauth2.provider.endpoint 中的方法
 org.springframework.http.ResponseEntity<OAuth2AccessToken> TokenEndpoint.getAccessToken(Principal principal, Map<String,String> parameters)
           
 

org.springframework.security.oauth2.provider.refreshOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.provider.refresh 中的方法
protected  OAuth2AccessToken RefreshTokenGranter.getAccessToken(ClientDetails client, TokenRequest tokenRequest)
           
 

org.springframework.security.oauth2.provider.tokenOAuth2AccessToken 的使用
 

返回 OAuth2AccessTokenorg.springframework.security.oauth2.provider.token 中的方法
 OAuth2AccessToken DefaultTokenServices.createAccessToken(OAuth2Authentication authentication)
           
 OAuth2AccessToken AuthorizationServerTokenServices.createAccessToken(OAuth2Authentication authentication)
          Create an access token associated with the specified credentials.
protected  OAuth2AccessToken JdbcTokenStore.deserializeAccessToken(byte[] token)
           
 OAuth2AccessToken TokenEnhancerChain.enhance(OAuth2AccessToken accessToken, OAuth2Authentication authentication)
          Loop over the delegates passing the result into the next member of the chain.
 OAuth2AccessToken TokenEnhancer.enhance(OAuth2AccessToken accessToken, OAuth2Authentication authentication)
          Provides an opportunity for customization of an access token (e.g. through its additional information map) during the process of creating a new token for use by a client.
protected  OAuth2AccessToken AbstractTokenGranter.getAccessToken(ClientDetails client, TokenRequest tokenRequest)
           
 OAuth2AccessToken TokenStore.getAccessToken(OAuth2Authentication authentication)
          Retrieve an access token stored against the provided authentication key, if it exists.
 OAuth2AccessToken JdbcTokenStore.getAccessToken(OAuth2Authentication authentication)
           
 OAuth2AccessToken InMemoryTokenStore.getAccessToken(OAuth2Authentication authentication)
           
 OAuth2AccessToken DefaultTokenServices.getAccessToken(OAuth2Authentication authentication)
           
 OAuth2AccessToken AuthorizationServerTokenServices.getAccessToken(OAuth2Authentication authentication)
          Retrieve an access token stored against the provided authentication key, if it exists.
 OAuth2AccessToken AbstractTokenGranter.grant(String grantType, TokenRequest tokenRequest)
           
 OAuth2AccessToken TokenStore.readAccessToken(String tokenValue)
          Read an access token from the store.
 OAuth2AccessToken ResourceServerTokenServices.readAccessToken(String accessToken)
          Retrieve the full access token details from just the value.
 OAuth2AccessToken JdbcTokenStore.readAccessToken(String tokenValue)
           
 OAuth2AccessToken InMemoryTokenStore.readAccessToken(String tokenValue)
           
 OAuth2AccessToken DefaultTokenServices.readAccessToken(String accessToken)
           
 OAuth2AccessToken DefaultTokenServices.refreshAccessToken(String refreshTokenValue, TokenRequest tokenRequest)
           
 OAuth2AccessToken AuthorizationServerTokenServices.refreshAccessToken(String refreshToken, TokenRequest tokenRequest)
          Refresh an access token.
 

返回变量类型为 OAuth2AccessToken 的类型的 org.springframework.security.oauth2.provider.token 中的方法
 Collection<OAuth2AccessToken> TokenStore.findTokensByClientId(String clientId)
           
 Collection<OAuth2AccessToken> JdbcTokenStore.findTokensByClientId(String clientId)
           
 Collection<OAuth2AccessToken> InMemoryTokenStore.findTokensByClientId(String clientId)
           
 Collection<OAuth2AccessToken> DefaultTokenServices.findTokensByClientId(String clientId)
           
 Collection<OAuth2AccessToken> ConsumerTokenServices.findTokensByClientId(String clientId)
           
 Collection<OAuth2AccessToken> TokenStore.findTokensByUserName(String userName)
           
 Collection<OAuth2AccessToken> JdbcTokenStore.findTokensByUserName(String userName)
           
 Collection<OAuth2AccessToken> InMemoryTokenStore.findTokensByUserName(String userName)
           
 Collection<OAuth2AccessToken> DefaultTokenServices.findTokensByUserName(String userName)
           
 Collection<OAuth2AccessToken> ConsumerTokenServices.findTokensByUserName(String userName)
           
 

参数类型为 OAuth2AccessTokenorg.springframework.security.oauth2.provider.token 中的方法
 OAuth2AccessToken TokenEnhancerChain.enhance(OAuth2AccessToken accessToken, OAuth2Authentication authentication)
          Loop over the delegates passing the result into the next member of the chain.
 OAuth2AccessToken TokenEnhancer.enhance(OAuth2AccessToken accessToken, OAuth2Authentication authentication)
          Provides an opportunity for customization of an access token (e.g. through its additional information map) during the process of creating a new token for use by a client.
 OAuth2Authentication TokenStore.readAuthentication(OAuth2AccessToken token)
          Read the authentication stored under the specified token value.
 OAuth2Authentication JdbcTokenStore.readAuthentication(OAuth2AccessToken token)
           
 OAuth2Authentication InMemoryTokenStore.readAuthentication(OAuth2AccessToken token)
           
 void TokenStore.removeAccessToken(OAuth2AccessToken token)
          Remove an access token from the database.
 void JdbcTokenStore.removeAccessToken(OAuth2AccessToken token)
           
 void InMemoryTokenStore.removeAccessToken(OAuth2AccessToken accessToken)
           
protected  byte[] JdbcTokenStore.serializeAccessToken(OAuth2AccessToken token)
           
 void TokenStore.storeAccessToken(OAuth2AccessToken token, OAuth2Authentication authentication)
          Store an access token.
 void JdbcTokenStore.storeAccessToken(OAuth2AccessToken token, OAuth2Authentication authentication)
           
 void InMemoryTokenStore.storeAccessToken(OAuth2AccessToken token, OAuth2Authentication authentication)
           
 



Copyright © 2013. All rights reserved.