org.springframework.security.oauth2.provider.code
Class AuthorizationCodeTokenGranter

java.lang.Object
  extended by org.springframework.security.oauth2.provider.token.AbstractTokenGranter
      extended by org.springframework.security.oauth2.provider.code.AuthorizationCodeTokenGranter
All Implemented Interfaces:
TokenGranter

public class AuthorizationCodeTokenGranter
extends AbstractTokenGranter

Token granter for the authorization code grant type.

Author:
Dave Syer

Field Summary
 
Fields inherited from class org.springframework.security.oauth2.provider.token.AbstractTokenGranter
logger
 
Constructor Summary
AuthorizationCodeTokenGranter(AuthorizationServerTokenServices tokenServices, AuthorizationCodeServices authorizationCodeServices, ClientDetailsService clientDetailsService, OAuth2RequestFactory requestFactory)
           
 
Method Summary
protected  OAuth2Authentication getOAuth2Authentication(ClientDetails client, TokenRequest tokenRequest)
           
 
Methods inherited from class org.springframework.security.oauth2.provider.token.AbstractTokenGranter
getAccessToken, getRequestFactory, getTokenServices, grant, validateGrantType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationCodeTokenGranter

public AuthorizationCodeTokenGranter(AuthorizationServerTokenServices tokenServices,
                                     AuthorizationCodeServices authorizationCodeServices,
                                     ClientDetailsService clientDetailsService,
                                     OAuth2RequestFactory requestFactory)
Method Detail

getOAuth2Authentication

protected OAuth2Authentication getOAuth2Authentication(ClientDetails client,
                                                       TokenRequest tokenRequest)
Overrides:
getOAuth2Authentication in class AbstractTokenGranter


Copyright © 2013. All rights reserved.