Interface TokenResolver<T>
- Type Parameters:
T
- request
- All Known Implementing Classes:
DefaultTokenResolver
Returns the token from the provided request.
- Since:
- 1.1.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionresolveToken
(T request) Deprecated, for removal: This API element is subject to removal in a future version.resolveTokens
(T request) Returns tokens found by the supplied token readers.
-
Method Details
-
resolveToken
Deprecated, for removal: This API element is subject to removal in a future version.UseresolveTokens(Object)
instead.Resolves the token from the provided request.- Parameters:
request
- The HTTP request.- Returns:
- The token in the supplied request. Empty if no token was found.
-
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
-
resolveTokens(Object)
instead.