Package swiss.trustbroker.oidc
Class Saml2TokenGenerator
java.lang.Object
swiss.trustbroker.oidc.Saml2TokenGenerator
- All Implemented Interfaces:
org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2AccessToken>
public class Saml2TokenGenerator
extends Object
implements org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2AccessToken>
-
Constructor Summary
ConstructorsConstructorDescriptionSaml2TokenGenerator(RelyingParty relyingParty, TrustBrokerProperties trustBrokerProperties) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.core.OAuth2AccessTokengenerate(org.springframework.security.oauth2.server.authorization.token.OAuth2TokenContext context)
-
Constructor Details
-
Saml2TokenGenerator
-
-
Method Details
-
generate
public org.springframework.security.oauth2.core.OAuth2AccessToken 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.OAuth2AccessToken>
-