Class OAuth2AuthorizationCodeGenerator

java.lang.Object
com.broadleafcommerce.auth.authorization.security.spring.OAuth2AuthorizationCodeGenerator
All Implemented Interfaces:
org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationCode>

public final class OAuth2AuthorizationCodeGenerator extends Object implements org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationCode>
100% unmodified direct copy of org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeGenerator due to private access. An OAuth2TokenGenerator that generates an OAuth2AuthorizationCode.
Since:
0.4.0
Author:
Joe Grandja
See Also:
  • OAuth2TokenGenerator
  • OAuth2AuthorizationCode
  • OAuth2AuthorizationCodeRequestAuthenticationProvider
  • OAuth2AuthorizationConsentAuthenticationProvider
  • Constructor Details

    • OAuth2AuthorizationCodeGenerator

      public OAuth2AuthorizationCodeGenerator()
  • Method Details

    • generate

      @Nullable public org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationCode generate(org.springframework.security.oauth2.server.authorization.token.OAuth2TokenContext context)
      Specified by:
      generate in interface org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationCode>