Class CustomRefreshTokenGenerator

java.lang.Object
swiss.trustbroker.oidc.CustomRefreshTokenGenerator
All Implemented Interfaces:
org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2RefreshToken>

public final class CustomRefreshTokenGenerator extends Object implements org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2RefreshToken>
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomRefreshTokenGenerator(org.springframework.security.oauth2.jwt.JwtEncoder jwtEncoder, com.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> jwkSource, org.springframework.security.oauth2.server.authorization.token.OAuth2RefreshTokenGenerator refreshTokenGenerator, TrustBrokerProperties properties, RelyingPartyDefinitions relyingPartyDefinitions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.oauth2.core.OAuth2RefreshToken
    generate(org.springframework.security.oauth2.server.authorization.token.OAuth2TokenContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CustomRefreshTokenGenerator

      public CustomRefreshTokenGenerator(org.springframework.security.oauth2.jwt.JwtEncoder jwtEncoder, com.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> jwkSource, org.springframework.security.oauth2.server.authorization.token.OAuth2RefreshTokenGenerator refreshTokenGenerator, TrustBrokerProperties properties, RelyingPartyDefinitions relyingPartyDefinitions)
  • Method Details

    • generate

      public org.springframework.security.oauth2.core.OAuth2RefreshToken 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.core.OAuth2RefreshToken>