org.springframework.security.oauth2.provider.token
接口 ConsumerTokenServices

所有已知实现类:
DefaultTokenServices

public interface ConsumerTokenServices

作者:
Dave Syer

方法摘要
 Collection<OAuth2AccessToken> findTokensByClientId(String clientId)
           
 Collection<OAuth2AccessToken> findTokensByUserName(String userName)
           
 String getClientId(String tokenValue)
           
 boolean revokeToken(String tokenValue)
           
 

方法详细信息

findTokensByUserName

Collection<OAuth2AccessToken> findTokensByUserName(String userName)

findTokensByClientId

Collection<OAuth2AccessToken> findTokensByClientId(String clientId)

revokeToken

boolean revokeToken(String tokenValue)

getClientId

String getClientId(String tokenValue)


Copyright © 2013. All rights reserved.