类 org.springframework.security.oauth2.provider.OAuth2Authentication
的使用

使用 OAuth2Authentication 的软件包
org.springframework.security.oauth2.provider.code   
org.springframework.security.oauth2.provider.implicit   
org.springframework.security.oauth2.provider.password   
org.springframework.security.oauth2.provider.token   
 

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

类型参数类型为 OAuth2Authenticationorg.springframework.security.oauth2.provider.code 中的字段
protected  ConcurrentHashMap<String,OAuth2Authentication> InMemoryAuthorizationCodeServices.authorizationCodeStore
           
 

返回 OAuth2Authenticationorg.springframework.security.oauth2.provider.code 中的方法
 OAuth2Authentication RandomValueAuthorizationCodeServices.consumeAuthorizationCode(String code)
           
 OAuth2Authentication AuthorizationCodeServices.consumeAuthorizationCode(String code)
          Consume a authorization code.
protected  OAuth2Authentication AuthorizationCodeTokenGranter.getOAuth2Authentication(ClientDetails client, TokenRequest tokenRequest)
           
protected abstract  OAuth2Authentication RandomValueAuthorizationCodeServices.remove(String code)
           
 OAuth2Authentication JdbcAuthorizationCodeServices.remove(String code)
           
 OAuth2Authentication InMemoryAuthorizationCodeServices.remove(String code)
           
 

参数类型为 OAuth2Authenticationorg.springframework.security.oauth2.provider.code 中的方法
 String RandomValueAuthorizationCodeServices.createAuthorizationCode(OAuth2Authentication authentication)
           
 String AuthorizationCodeServices.createAuthorizationCode(OAuth2Authentication authentication)
          Create a authorization code for the specified authentications.
protected abstract  void RandomValueAuthorizationCodeServices.store(String code, OAuth2Authentication authentication)
           
protected  void JdbcAuthorizationCodeServices.store(String code, OAuth2Authentication authentication)
           
protected  void InMemoryAuthorizationCodeServices.store(String code, OAuth2Authentication authentication)
           
 

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

返回 OAuth2Authenticationorg.springframework.security.oauth2.provider.implicit 中的方法
protected  OAuth2Authentication ImplicitTokenGranter.getOAuth2Authentication(ClientDetails client, TokenRequest clientToken)
           
 

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

返回 OAuth2Authenticationorg.springframework.security.oauth2.provider.password 中的方法
protected  OAuth2Authentication ResourceOwnerPasswordTokenGranter.getOAuth2Authentication(ClientDetails client, TokenRequest tokenRequest)
           
 

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

返回 OAuth2Authenticationorg.springframework.security.oauth2.provider.token 中的方法
protected  OAuth2Authentication JdbcTokenStore.deserializeAuthentication(byte[] authentication)
           
protected  OAuth2Authentication AbstractTokenGranter.getOAuth2Authentication(ClientDetails client, TokenRequest tokenRequest)
           
 OAuth2Authentication ResourceServerTokenServices.loadAuthentication(String accessToken)
          Load the credentials for the specified access token.
 OAuth2Authentication DefaultTokenServices.loadAuthentication(String accessTokenValue)
           
 OAuth2Authentication TokenStore.readAuthentication(OAuth2AccessToken token)
          Read the authentication stored under the specified token value.
 OAuth2Authentication JdbcTokenStore.readAuthentication(OAuth2AccessToken token)
           
 OAuth2Authentication InMemoryTokenStore.readAuthentication(OAuth2AccessToken token)
           
 OAuth2Authentication TokenStore.readAuthentication(String token)
          Read the authentication stored under the specified token value.
 OAuth2Authentication JdbcTokenStore.readAuthentication(String token)
           
 OAuth2Authentication InMemoryTokenStore.readAuthentication(String token)
           
 OAuth2Authentication TokenStore.readAuthenticationForRefreshToken(OAuth2RefreshToken token)
           
 OAuth2Authentication JdbcTokenStore.readAuthenticationForRefreshToken(OAuth2RefreshToken token)
           
 OAuth2Authentication InMemoryTokenStore.readAuthenticationForRefreshToken(OAuth2RefreshToken token)
           
 OAuth2Authentication JdbcTokenStore.readAuthenticationForRefreshToken(String value)
           
 OAuth2Authentication InMemoryTokenStore.readAuthenticationForRefreshToken(String token)
           
 

参数类型为 OAuth2Authenticationorg.springframework.security.oauth2.provider.token 中的方法
 OAuth2AccessToken DefaultTokenServices.createAccessToken(OAuth2Authentication authentication)
           
 OAuth2AccessToken AuthorizationServerTokenServices.createAccessToken(OAuth2Authentication authentication)
          Create an access token associated with the specified credentials.
 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.
 String DefaultAuthenticationKeyGenerator.extractKey(OAuth2Authentication authentication)
           
 String AuthenticationKeyGenerator.extractKey(OAuth2Authentication authentication)
           
 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.
protected  byte[] JdbcTokenStore.serializeAuthentication(OAuth2Authentication authentication)
           
 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)
           
 void TokenStore.storeRefreshToken(OAuth2RefreshToken refreshToken, OAuth2Authentication authentication)
          Store the specified refresh token in the database.
 void JdbcTokenStore.storeRefreshToken(OAuth2RefreshToken refreshToken, OAuth2Authentication authentication)
           
 void InMemoryTokenStore.storeRefreshToken(OAuth2RefreshToken refreshToken, OAuth2Authentication authentication)
           
 



Copyright © 2013. All rights reserved.