Interface TokenResolver<T>
- Type Parameters:
T- request
- All Known Implementing Classes:
DefaultTokenResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@DefaultImplementation(DefaultTokenResolver.class)
@FunctionalInterface
public interface TokenResolver<T>
Returns the token from the provided request.
- Since:
- 1.1.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionresolveTokens(T request) Returns tokens found by the supplied token readers.
-
Method Details
-
resolveTokens
Returns tokens found by the supplied token readers.- Parameters:
request- The current HTTP request.- Returns:
- the tokens found in the supplied request.
- Since:
- 4.4.0
-