Interface TokenReader
-
- All Superinterfaces:
io.micronaut.core.order.Ordered
- All Known Implementing Classes:
BasicAuthTokenReader
,BearerTokenReader
,HttpHeaderTokenReader
,JwtCookieTokenReader
public interface TokenReader extends io.micronaut.core.order.Ordered
Responsible for reading the token data from a request.- Since:
- 1.0
- Author:
- Sergio del Amo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
findToken(io.micronaut.http.HttpRequest<?> request)
Attempts to retrieve a token in a request.
-