Interface JwtAuthenticationFactory
-
- All Superinterfaces:
TokenAuthenticationFactory<com.nimbusds.jwt.JWT>
- All Known Implementing Classes:
DefaultJwtAuthenticationFactory
public interface JwtAuthenticationFactory extends TokenAuthenticationFactory<com.nimbusds.jwt.JWT>
Creates anAuthentication
object from a JWT token.- Since:
- 1.1.0
- Author:
- Sergio del Amo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<Authentication>
createAuthentication(com.nimbusds.jwt.JWT token)
-
-
-
Method Detail
-
createAuthentication
java.util.Optional<Authentication> createAuthentication(com.nimbusds.jwt.JWT token)
- Specified by:
createAuthentication
in interfaceTokenAuthenticationFactory<com.nimbusds.jwt.JWT>
- Parameters:
token
- The token- Returns:
- An Authentication object.
-
-