public interface JwtAuthenticator extends Authenticator<BearerAuthenticationToken>
Authenticator able to authenticate BearerAuthenticationToken tokens, expecting a JWT token as
bearer token and using a JwtConfiguration to perform authentication.| Modifier and Type | Interface and Description |
|---|---|
static interface |
JwtAuthenticator.Builder
Builder to create
JwtAuthenticator instances |
Authenticator.MessageAuthenticator| Modifier and Type | Method and Description |
|---|---|
static JwtAuthenticator.Builder |
builder()
Builder to create a JwtAuthenticator.
|
JwtConfiguration |
getConfiguration()
Get the
JwtConfiguration to use to validate and authenticate the JWT tokens |
Collection<String> |
getIssuers()
Get the allowed JWT issuers
|
Collection<String> |
getRequiredClaims()
Get optional required JWT claims
|
authenticate, create, getTokenTypeJwtConfiguration getConfiguration()
JwtConfiguration to use to validate and authenticate the JWT tokensCollection<String> getIssuers()
Collection<String> getRequiredClaims()
static JwtAuthenticator.Builder builder()
Copyright © 2019 The Holon Platform. All rights reserved.