B - Builder used for method chainingR - JWT Verifierpublic interface VerifierBuilderSupport<B extends VerifierBuilderSupport,R>
| Modifier and Type | Method and Description |
|---|---|
R |
build()
Constructs a JWT Verifier.
|
B |
setConnectionTimeout(Duration connectionTimeout)
Sets the
connectionTimeout for the verifier. |
B |
setIssuer(String issuer)
Sets the
issuer the verifier will expect. |
B |
setLeeway(Duration leeway)
Sets the
leeway the verifier will allow. |
B |
setProxyHost(String proxyHost)
Sets the proxy host used for the configured HTTP proxy.
|
B |
setProxyPassword(String proxyPassword)
Sets the proxy password used for the configured HTTP proxy.
|
B |
setProxyPort(int proxyPort)
Sets the proxy port used for the configured HTTP proxy.
|
B |
setProxyUsername(String proxyUsername)
Sets the proxy username used for the configured HTTP proxy.
|
B |
setRetryMaxAttempts(int retryMaxAttempts)
Sets the
retryMaxAttempts the verifier will allow when making HTTP requests to the "keys" endpoint. |
B |
setRetryMaxElapsed(Duration retryMaxElapsed)
Sets the
retryMaxElapsed the verifier will allow when making HTTP requests to the "keys" endpoint. |
B setIssuer(String issuer)
issuer the verifier will expect.issuer - Issuer URLB setLeeway(Duration leeway)
leeway the verifier will allow.leeway - clock skew leewayB setConnectionTimeout(Duration connectionTimeout)
connectionTimeout for the verifier.connectionTimeout - connection timeoutB setProxyHost(String proxyHost)
proxyHost - the proxy host used for the configured HTTP proxyB setProxyPort(int proxyPort)
proxyPort - the proxy port used for the configured HTTP proxyB setProxyUsername(String proxyUsername)
proxyUsername - the proxy username used for the configured HTTP proxyB setProxyPassword(String proxyPassword)
proxyPassword - the proxy password used for the configured HTTP proxyB setRetryMaxAttempts(int retryMaxAttempts)
retryMaxAttempts the verifier will allow when making HTTP requests to the "keys" endpoint.retryMaxAttempts - The maximum number of times to retry HTTP requestsB setRetryMaxElapsed(Duration retryMaxElapsed)
retryMaxElapsed the verifier will allow when making HTTP requests to the "keys" endpoint.retryMaxElapsed - the max duration for the total of HTTP requestR build()
Copyright © 2017–2020 Okta. All rights reserved.