Interface AuthenticationMapper
- All Superinterfaces:
io.micronaut.core.order.Ordered
- All Known Implementing Classes:
AbstractAuthenticationMapper
public interface AuthenticationMapper
extends io.micronaut.core.order.Ordered
Maps a token value to an
Authentication.- Since:
- 5.3.0
- Author:
- Sergio del Amo
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescription@Nullable AuthenticationAttempts to create anAuthenticationfrom the token.Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Method Details
-
of
Attempts to create anAuthenticationfrom the token.- Parameters:
token- The token to map- Returns:
- The mapped authentication, or
nullif the token cannot be mapped
-