@Singleton public class JwtCookieTokenReader extends Object implements TokenReader
| Modifier and Type | Field and Description | 
|---|---|
protected JwtCookieConfiguration | 
jwtCookieConfiguration  | 
static Integer | 
ORDER  | 
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description | 
|---|
JwtCookieTokenReader(JwtCookieConfiguration jwtCookieConfiguration)  | 
| Modifier and Type | Method and Description | 
|---|---|
Optional<String> | 
findToken(HttpRequest<?> request)
Attempts to retrieve a token in a request. 
 | 
int | 
getOrder()  | 
public static final Integer ORDER
protected final JwtCookieConfiguration jwtCookieConfiguration
public JwtCookieTokenReader(JwtCookieConfiguration jwtCookieConfiguration)
jwtCookieConfiguration - Configuration properties for JWT Cookie supportpublic Optional<String> findToken(HttpRequest<?> request)
TokenReaderfindToken in interface TokenReaderrequest - The request to look for the token in