org.springframework.security.oauth2.client.token
Interface ClientKeyGenerator

All Known Implementing Classes:
DefaultClientKeyGenerator

public interface ClientKeyGenerator

Author:
Dave Syer

Method Summary
 String extractKey(OAuth2ProtectedResourceDetails resource, org.springframework.security.core.Authentication authentication)
           
 

Method Detail

extractKey

String extractKey(OAuth2ProtectedResourceDetails resource,
                  org.springframework.security.core.Authentication authentication)
Parameters:
resource - a protected resource declaration
authentication - a user Authentication (possibly null)
Returns:
a unique key identifying an access token for this pair


Copyright © 2012. All Rights Reserved.