JwtValidator.Builder |
JwtValidator.Builder.audience(String... audience) |
Defines one or more string values representing the audiences supported by this configuration.
|
static JwtValidator.Builder |
JwtValidator.builder() |
|
JwtValidator.Builder |
JwtValidator.Builder.connectionTimeout(int connectionTimeout) |
Sets the connection timeout to a specified timeout, in milliseconds.
|
JwtValidator.Builder |
JwtValidator.Builder.issuer(String... issuer) |
Defines one or more string values representing an unique identifier for the entities that are allowed as issuers of a given JWT.
|
JwtValidator.Builder |
JwtValidator.Builder.publicKey(byte[] publicKeyPem) |
A default public key in its PEM format used to validate the signature of tokens without kid header parameter.
|
JwtValidator.Builder |
JwtValidator.Builder.publicKey(PublicKey publicKey) |
A default PublicKey format used to validate the signature of tokens without kid header parameter.
|
JwtValidator.Builder |
JwtValidator.Builder.publicKeys(Map<String,PublicKey> namedKeys) |
A PublicKey map, which is used for validating tokens with kid and without jku header parameter.
|
JwtValidator.Builder |
JwtValidator.Builder.readTimeout(int readTimeout) |
Sets the read timeout to a specified timeout, in milliseconds.
|
JwtValidator.Builder |
JwtValidator.Builder.setJkuMinTimeBetweenRequests(int minTimeBetweenRequests) |
The time in which there will be no more requests to retrieve
the keys from the jkws URL.
|
JwtValidator.Builder |
JwtValidator.Builder.setJkuTimeout(long timeout) |
A timeout for cached jwks when using jku claim.
|
JwtValidator.Builder |
JwtValidator.Builder.useSslContext(SSLContext sslContext) |
A predefined SSLContext that will be used to connect to the jku endpoint when retrieving remote keys.
|
JwtValidator.Builder |
JwtValidator.Builder.useSslHostnameVerifier(HostnameVerifier hostnameVerifier) |
A HostnameVerifier that will be used to validate the hostname when using SSL/TLS.
|