Class OAuthAccessTokenCustomizerService

java.lang.Object
io.meeds.oauth2.server.service.OAuthAccessTokenCustomizerService
All Implemented Interfaces:
org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsContext>

@Service public class OAuthAccessTokenCustomizerService extends Object implements org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsContext>
  • Constructor Details

    • OAuthAccessTokenCustomizerService

      public OAuthAccessTokenCustomizerService()
  • Method Details

    • init

      @PostConstruct public void init()
    • addProvider

      public void addProvider(OAuthAccessTokenAudienceProvider audienceProvider)
    • addProvider

      public void addProvider(OAuthAccessTokenAuthorityProvider authorityProvider)
    • customize

      public void customize(org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsContext context)
      Specified by:
      customize in interface org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsContext>
    • customize

      public void customize(org.springframework.security.oauth2.server.authorization.token.JwtEncodingContext context)