public final class JjwtAccessTokenVerifierBuilder extends java.lang.Object implements AccessTokenVerifier.Builder
| Constructor and Description |
|---|
JjwtAccessTokenVerifierBuilder() |
| Modifier and Type | Method and Description |
|---|---|
AccessTokenVerifier |
build() |
boolean |
equals(java.lang.Object o) |
java.time.Clock |
getClock() |
java.time.Duration |
getMaxHttpRetryElapsed() |
java.lang.String |
getProxyHost() |
java.lang.String |
getProxyPassword() |
int |
getProxyPort() |
java.lang.String |
getProxyUsername() |
int |
getRetryMaxAttempts() |
int |
hashCode() |
protected HttpClient |
httpClient() |
protected java.lang.String |
resolveKeysEndpoint(java.lang.String issuer) |
protected B |
self() |
AccessTokenVerifier.Builder |
setAudience(java.lang.String audience) |
B |
setClock(java.time.Clock clock) |
B |
setConnectionTimeout(java.time.Duration connectionTimeout) |
B |
setIssuer(java.lang.String issuer) |
B |
setLeeway(java.time.Duration leeway) |
B |
setProxyHost(java.lang.String proxyHost) |
B |
setProxyPassword(java.lang.String proxyPassword) |
B |
setProxyPort(int proxyPort) |
B |
setProxyUsername(java.lang.String proxyUsername) |
B |
setRetryMaxAttempts(int retryMaxAttempts) |
B |
setRetryMaxElapsed(java.time.Duration retryMaxElapsed) |
protected io.jsonwebtoken.SigningKeyResolver |
signingKeyResolver() |
protected void |
validate() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitsetClock, setConnectionTimeout, setIssuer, setLeeway, setProxyHost, setProxyPassword, setProxyPort, setProxyUsername, setRetryMaxAttempts, setRetryMaxElapsedpublic AccessTokenVerifier.Builder setAudience(java.lang.String audience)
setAudience in interface AccessTokenVerifier.Builderprotected void validate()
public AccessTokenVerifier build()
build in interface VerifierBuilderSupport<AccessTokenVerifier.Builder,AccessTokenVerifier>public B setIssuer(java.lang.String issuer)
setIssuer in interface VerifierBuilderSupport<B extends VerifierBuilderSupport,R>public B setLeeway(java.time.Duration leeway)
setLeeway in interface VerifierBuilderSupport<B extends VerifierBuilderSupport,R>public B setConnectionTimeout(java.time.Duration connectionTimeout)
setConnectionTimeout in interface VerifierBuilderSupport<B extends VerifierBuilderSupport,R>public java.lang.String getProxyHost()
public B setProxyHost(java.lang.String proxyHost)
setProxyHost in interface VerifierBuilderSupport<B extends VerifierBuilderSupport,R>public int getProxyPort()
public B setProxyPort(int proxyPort)
setProxyPort in interface VerifierBuilderSupport<B extends VerifierBuilderSupport,R>public java.lang.String getProxyUsername()
public B setProxyUsername(java.lang.String proxyUsername)
setProxyUsername in interface VerifierBuilderSupport<B extends VerifierBuilderSupport,R>public java.lang.String getProxyPassword()
public B setProxyPassword(java.lang.String proxyPassword)
setProxyPassword in interface VerifierBuilderSupport<B extends VerifierBuilderSupport,R>public int getRetryMaxAttempts()
public B setRetryMaxAttempts(int retryMaxAttempts)
setRetryMaxAttempts in interface VerifierBuilderSupport<B extends VerifierBuilderSupport,R>public java.time.Duration getMaxHttpRetryElapsed()
public B setRetryMaxElapsed(java.time.Duration retryMaxElapsed)
setRetryMaxElapsed in interface VerifierBuilderSupport<B extends VerifierBuilderSupport,R>public java.time.Clock getClock()
public B setClock(java.time.Clock clock)
setClock in interface VerifierBuilderSupport<B extends VerifierBuilderSupport,R>protected B self()
protected java.lang.String resolveKeysEndpoint(java.lang.String issuer)
protected io.jsonwebtoken.SigningKeyResolver signingKeyResolver()
protected HttpClient httpClient()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2017-2022 Okta. All Rights Reserved.