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 |
setClock(java.time.Clock clock)
Sets the
clock the verifier will use for evaluating token expiration. |
B |
setConnectionTimeout(java.time.Duration connectionTimeout)
Sets the
connectionTimeout for the verifier. |
B |
setIssuer(java.lang.String issuer)
Sets the
issuer the verifier will expect. |
B |
setLeeway(java.time.Duration leeway)
Sets the
leeway the verifier will allow. |
B |
setProxyHost(java.lang.String proxyHost)
Sets the proxy host used for the configured HTTP proxy.
|
B |
setProxyPassword(java.lang.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(java.lang.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(java.time.Duration retryMaxElapsed)
Sets the
retryMaxElapsed the verifier will allow when making HTTP requests to the "keys" endpoint. |
B setIssuer(java.lang.String issuer)
issuer the verifier will expect.issuer - Issuer URLB setLeeway(java.time.Duration leeway)
leeway the verifier will allow.leeway - clock skew leewayB setConnectionTimeout(java.time.Duration connectionTimeout)
connectionTimeout for the verifier.connectionTimeout - connection timeoutB setProxyHost(java.lang.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(java.lang.String proxyUsername)
proxyUsername - the proxy username used for the configured HTTP proxyB setProxyPassword(java.lang.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(java.time.Duration retryMaxElapsed)
retryMaxElapsed the verifier will allow when making HTTP requests to the "keys" endpoint.retryMaxElapsed - the max duration for the total of HTTP requestB setClock(java.time.Clock clock)
clock the verifier will use for evaluating token expiration.clock - specify an alternate clock, such as fixed or offset to be used during testingR build()
Copyright © 2017-2022 Okta. All Rights Reserved.