Class DefaultCustomTokenGranter

java.lang.Object
org.springframework.security.oauth2.provider.token.AbstractTokenGranter
de.hybris.platform.oauth2.provider.custom.DefaultCustomTokenGranter
All Implemented Interfaces:
org.springframework.security.oauth2.provider.TokenGranter

public class DefaultCustomTokenGranter extends org.springframework.security.oauth2.provider.token.AbstractTokenGranter
  • Field Summary

    Fields inherited from class org.springframework.security.oauth2.provider.token.AbstractTokenGranter

    logger
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    DefaultCustomTokenGranter(org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices tokenServices, org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService, org.springframework.security.oauth2.provider.OAuth2RequestFactory requestFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.security.oauth2.provider.OAuth2Authentication
    getOAuth2Authentication(org.springframework.security.oauth2.provider.ClientDetails client, org.springframework.security.oauth2.provider.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 Details

    • DefaultCustomTokenGranter

      protected DefaultCustomTokenGranter(org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices tokenServices, org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService, org.springframework.security.oauth2.provider.OAuth2RequestFactory requestFactory)
  • Method Details

    • getOAuth2Authentication

      protected org.springframework.security.oauth2.provider.OAuth2Authentication getOAuth2Authentication(org.springframework.security.oauth2.provider.ClientDetails client, org.springframework.security.oauth2.provider.TokenRequest tokenRequest)
      Overrides:
      getOAuth2Authentication in class org.springframework.security.oauth2.provider.token.AbstractTokenGranter