Package io.micronaut.security.token
Interface TokenAuthenticationFactory<T>
- Type Parameters:
T
- The type of the token
- All Known Subinterfaces:
JwtAuthenticationFactory
- All Known Implementing Classes:
AbstractTokenAuthenticationFactory
,DefaultJwtAuthenticationFactory
public interface TokenAuthenticationFactory<T>
Creates an
Authentication
object from a token.- Since:
- 1.1.0
- Author:
- Sergio del Amo
-
Method Summary
-
Method Details
-
createAuthentication
- Parameters:
token
- The token- Returns:
- An Authentication object.
-