Package com.okta.jwt.impl.jjwt
Class JjwtAccessTokenVerifierBuilder
java.lang.Object
com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- All Implemented Interfaces:
AccessTokenVerifier.Builder,VerifierBuilderSupport<AccessTokenVerifier.Builder,AccessTokenVerifier>
public final class JjwtAccessTokenVerifierBuilder
extends Object
implements AccessTokenVerifier.Builder
Classes in this `impl` implementation package may change in NON backward compatible way, and should ONLY be used as
a "runtime" dependency.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()booleangetClock()booleanintintnl.altindag.ssl.SSLFactoryinthashCode()protected HttpClientprotected StringresolveKeysEndpoint(String issuer) protected AccessTokenVerifier.Builderself()setAudience(String audience) setConnectionTimeout(Duration connectionTimeout) setPreloadSigningKeys(boolean preloadSigningKeys) setProxyHost(String proxyHost) setProxyPassword(String proxyPassword) setProxyPort(int proxyPort) setProxyUsername(String proxyUsername) setRetryMaxAttempts(int retryMaxAttempts) setRetryMaxElapsed(Duration retryMaxElapsed) setSslFactory(nl.altindag.ssl.SSLFactory sslFactory) protected io.jsonwebtoken.SigningKeyResolverprotected voidvalidate()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.okta.jwt.VerifierBuilderSupport
setClock, setConnectionTimeout, setIssuer, setLeeway, setPreloadSigningKeys, setProxyHost, setProxyPassword, setProxyPort, setProxyUsername, setRetryMaxAttempts, setRetryMaxElapsed, setSslFactory
-
Constructor Details
-
JjwtAccessTokenVerifierBuilder
public JjwtAccessTokenVerifierBuilder()
-
-
Method Details
-
setAudience
- Specified by:
setAudiencein interfaceAccessTokenVerifier.Builder
-
validate
protected void validate() -
build
- Specified by:
buildin interfaceVerifierBuilderSupport<AccessTokenVerifier.Builder,AccessTokenVerifier>
-
setIssuer
- Specified by:
setIssuerin interfaceVerifierBuilderSupport<B extends VerifierBuilderSupport,R>
-
setLeeway
- Specified by:
setLeewayin interfaceVerifierBuilderSupport<B extends VerifierBuilderSupport,R>
-
setConnectionTimeout
- Specified by:
setConnectionTimeoutin interfaceVerifierBuilderSupport<B extends VerifierBuilderSupport,R>
-
getProxyHost
-
setProxyHost
- Specified by:
setProxyHostin interfaceVerifierBuilderSupport<B extends VerifierBuilderSupport,R>
-
getProxyPort
public int getProxyPort() -
setProxyPort
- Specified by:
setProxyPortin interfaceVerifierBuilderSupport<B extends VerifierBuilderSupport,R>
-
getProxyUsername
-
setProxyUsername
- Specified by:
setProxyUsernamein interfaceVerifierBuilderSupport<B extends VerifierBuilderSupport,R>
-
getProxyPassword
-
setProxyPassword
- Specified by:
setProxyPasswordin interfaceVerifierBuilderSupport<B extends VerifierBuilderSupport,R>
-
getRetryMaxAttempts
public int getRetryMaxAttempts() -
setRetryMaxAttempts
- Specified by:
setRetryMaxAttemptsin interfaceVerifierBuilderSupport<B extends VerifierBuilderSupport,R>
-
getMaxHttpRetryElapsed
-
setRetryMaxElapsed
- Specified by:
setRetryMaxElapsedin interfaceVerifierBuilderSupport<B extends VerifierBuilderSupport,R>
-
getClock
-
setClock
- Specified by:
setClockin interfaceVerifierBuilderSupport<B extends VerifierBuilderSupport,R>
-
getSslFactory
public nl.altindag.ssl.SSLFactory getSslFactory() -
setSslFactory
- Specified by:
setSslFactoryin interfaceVerifierBuilderSupport<B extends VerifierBuilderSupport,R>
-
getPreloadSigningKeys
public boolean getPreloadSigningKeys() -
setPreloadSigningKeys
- Specified by:
setPreloadSigningKeysin interfaceVerifierBuilderSupport<B extends VerifierBuilderSupport,R>
-
self
-
resolveKeysEndpoint
-
signingKeyResolver
protected io.jsonwebtoken.SigningKeyResolver signingKeyResolver() -
httpClient
-
equals
-
hashCode
public int hashCode()
-