public interface JWTAuthHandler extends AuthHandler
Modifier and Type | Method and Description |
---|---|
static JWTAuthHandler |
create(JWTAuth authProvider)
Create a JWT auth handler
|
static JWTAuthHandler |
create(JWTAuth authProvider,
String skip)
Create a JWT auth handler
|
JWTAuthHandler |
setAudience(List<String> audience)
Set the audience list
|
JWTAuthHandler |
setIgnoreExpiration(boolean ignoreExpiration)
Set whether expiration is ignored
|
JWTAuthHandler |
setIssuer(String issuer)
Set the issuer
|
addAuthorities, addAuthority, authorize, parseCredentials
static JWTAuthHandler create(JWTAuth authProvider)
authProvider
- the auth provider to usestatic JWTAuthHandler create(JWTAuth authProvider, String skip)
authProvider
- the auth provider to use.JWTAuthHandler setAudience(List<String> audience)
audience
- the audience listJWTAuthHandler setIssuer(String issuer)
issuer
- the issuerJWTAuthHandler setIgnoreExpiration(boolean ignoreExpiration)
ignoreExpiration
- whether expiration is ignoredCopyright © 2023 Eclipse. All rights reserved.