Package org.odpi.openmetadata.userauthn
Class TokenService
java.lang.Object
org.odpi.openmetadata.userauthn.TokenService
Token service generate
-
Constructor Summary
ConstructorDescriptionTokenService
(org.springframework.security.oauth2.jwt.JwtEncoder encoder) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongenerateToken
(org.springframework.security.core.Authentication authentication)
-
Constructor Details
-
TokenService
public TokenService(org.springframework.security.oauth2.jwt.JwtEncoder encoder) Constructor- Parameters:
encoder
- JWT encoder
-
-
Method Details
-
generateToken
-