Class TokenService

java.lang.Object
org.odpi.openmetadata.userauthn.TokenService

@Service public class TokenService extends Object
Token service generate
  • Constructor Details

    • TokenService

      public TokenService(org.springframework.security.oauth2.jwt.JwtEncoder encoder)
      Constructor
      Parameters:
      encoder - JWT encoder
  • Method Details

    • generateToken

      public String generateToken(org.springframework.security.core.Authentication authentication)