org.springframework.security.oauth2.provider.token
Interface ConsumerTokenServices

All Known Implementing Classes:
DefaultTokenServices

public interface ConsumerTokenServices

Author:
Dave Syer

Method Summary
 Collection<OAuth2AccessToken> findTokensByClientId(String clientId)
           
 Collection<OAuth2AccessToken> findTokensByUserName(String userName)
           
 String getClientId(String tokenValue)
           
 boolean revokeToken(String tokenValue)
           
 

Method Detail

findTokensByUserName

Collection<OAuth2AccessToken> findTokensByUserName(String userName)

findTokensByClientId

Collection<OAuth2AccessToken> findTokensByClientId(String clientId)

revokeToken

boolean revokeToken(String tokenValue)

getClientId

String getClientId(String tokenValue)


Copyright © 2012. All Rights Reserved.