@Singleton public class DefaultJwtAuthenticationFactory extends Object implements JwtAuthenticationFactory
AuthenticationJWTClaimsSetAdapter
to construction an Authentication
object.Constructor and Description |
---|
DefaultJwtAuthenticationFactory() |
Modifier and Type | Method and Description |
---|---|
Optional<Authentication> |
createAuthentication(com.nimbusds.jwt.JWT token) |
public Optional<Authentication> createAuthentication(com.nimbusds.jwt.JWT token)
createAuthentication
in interface JwtAuthenticationFactory
createAuthentication
in interface TokenAuthenticationFactory<com.nimbusds.jwt.JWT>
token
- The token