Package swiss.trustbroker.oidc
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
ConstructorsConstructorDescriptionCustomRefreshTokenGenerator(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 TypeMethodDescriptionorg.springframework.security.oauth2.core.OAuth2RefreshTokengenerate(org.springframework.security.oauth2.server.authorization.token.OAuth2TokenContext context)
-
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:
generatein interfaceorg.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2RefreshToken>
-