Class 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

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • 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 Detail

      • 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