Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AccessTokenVerifier - Interface in com.okta.jwt
-
An AccessTokenVerifier can be used to validate Okta's OAuth 2.0 access tokens client side.
- AccessTokenVerifier.Builder - Interface in com.okta.jwt
-
Builder interface used to simplify construction of a AccessTokenVerifier.
- accessTokenVerifierBuilder() - Static method in class com.okta.jwt.JwtVerifiers
-
Creates an instance of AccessTokenVerifier.Builder.
B
- build() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- build() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- build() - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Constructs a JWT Verifier.
- buildJwtParser() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifier
- buildJwtParser() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifier
C
- com.okta.jwt - package com.okta.jwt
- com.okta.jwt.example - package com.okta.jwt.example
- com.okta.jwt.impl - package com.okta.jwt.impl
- com.okta.jwt.impl.http - package com.okta.jwt.impl.http
- com.okta.jwt.impl.jjwt - package com.okta.jwt.impl.jjwt
- com.okta.jwt.impl.jjwt.models - package com.okta.jwt.impl.jjwt.models
D
- decode(String) - Method in interface com.okta.jwt.AccessTokenVerifier
-
Validates the given
accessToken
. - decode(String) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifier
- decode(String, JwtParser, ClaimsValidator) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifier
- decode(String, JwtParser, ClaimsValidator) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifier
- decode(String, String) - Method in interface com.okta.jwt.IdTokenVerifier
-
Validates the given
idToken
. - decode(String, String) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifier
- DefaultJwt - Class in com.okta.jwt.impl
-
Default simple bean implementation of
Jwt
. - DefaultJwt(String, Instant, Instant, Map<String, Object>) - Constructor for class com.okta.jwt.impl.DefaultJwt
-
Creates an instance based on input from an already parsed and validated JWT.
E
- equals(Object) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- equals(Object) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- equals(Object) - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- equals(Object) - Method in class com.okta.jwt.impl.jjwt.models.JwkKeys
G
- get(URL) - Method in interface com.okta.jwt.impl.http.HttpClient
- get(URL) - Method in class com.okta.jwt.impl.http.OktaCommonsHttpClient
- getAlgorithm() - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- getClaims() - Method in class com.okta.jwt.impl.DefaultJwt
- getClaims() - Method in interface com.okta.jwt.Jwt
-
Returns the token body clams as Map.
- getClientId() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- getClock() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- getClock() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- getExpiresAt() - Method in class com.okta.jwt.impl.DefaultJwt
- getExpiresAt() - Method in interface com.okta.jwt.Jwt
-
Returns the `exp` claim value as an
Instant
. - getIssuedAt() - Method in class com.okta.jwt.impl.DefaultJwt
- getIssuedAt() - Method in interface com.okta.jwt.Jwt
-
Returns the `iat` claim value as an
Instant
. - getKeyId() - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- getKeys() - Method in class com.okta.jwt.impl.jjwt.models.JwkKeys
- getKeyType() - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- getMaxHttpRetryElapsed() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- getMaxHttpRetryElapsed() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- getPreloadSigningKeys() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- getPreloadSigningKeys() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- getProxyHost() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- getProxyHost() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- getProxyPassword() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- getProxyPassword() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- getProxyPort() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- getProxyPort() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- getProxyUsername() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- getProxyUsername() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- getPublicKeyExponent() - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- getPublicKeyModulus() - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- getPublicKeyUse() - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- getRetryMaxAttempts() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- getRetryMaxAttempts() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- getTokenValue() - Method in class com.okta.jwt.impl.DefaultJwt
- getTokenValue() - Method in interface com.okta.jwt.Jwt
-
Returns the original string representation of this JWT.
H
- hashCode() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- hashCode() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- hashCode() - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- hashCode() - Method in class com.okta.jwt.impl.jjwt.models.JwkKeys
- httpClient() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- httpClient() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- HttpClient - Interface in com.okta.jwt.impl.http
-
Classes in this `impl` implementation package may change in NON backward compatible way, and should ONLY be used as a "runtime" dependency.
I
- IdTokenVerifier - Interface in com.okta.jwt
- IdTokenVerifier.Builder - Interface in com.okta.jwt
-
Builder interface used to simplify construction of a IdTokenVerifier.
- idTokenVerifierBuilder() - Static method in class com.okta.jwt.JwtVerifiers
-
Creates an instance of IdTokenVerifier.Builder.
J
- JjwtAccessTokenVerifier - Class in com.okta.jwt.impl.jjwt
-
Classes in this `impl` implementation package may change in NON backward compatible way, and should ONLY be used as a "runtime" dependency.
- JjwtAccessTokenVerifier(String, String, Duration, SigningKeyResolver) - Constructor for class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifier
- JjwtAccessTokenVerifier(String, String, Duration, SigningKeyResolver, Clock) - Constructor for class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifier
- JjwtAccessTokenVerifierBuilder - Class in com.okta.jwt.impl.jjwt
-
Classes in this `impl` implementation package may change in NON backward compatible way, and should ONLY be used as a "runtime" dependency.
- JjwtAccessTokenVerifierBuilder() - Constructor for class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- JjwtIdTokenVerifier - Class in com.okta.jwt.impl.jjwt
-
Classes in this `impl` implementation package may change in NON backward compatible way, and should ONLY be used as a "runtime" dependency.
- JjwtIdTokenVerifier(String, String, Duration, SigningKeyResolver) - Constructor for class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifier
- JjwtIdTokenVerifierBuilder - Class in com.okta.jwt.impl.jjwt
-
Classes in this `impl` implementation package may change in NON backward compatible way, and should ONLY be used as a "runtime" dependency.
- JjwtIdTokenVerifierBuilder() - Constructor for class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- JwkKey - Class in com.okta.jwt.impl.jjwt.models
-
Classes in this `impl` implementation package may change in NON backward compatible way, and should ONLY be used as a "runtime" dependency.
- JwkKey() - Constructor for class com.okta.jwt.impl.jjwt.models.JwkKey
- JwkKeys - Class in com.okta.jwt.impl.jjwt.models
-
Classes in this `impl` implementation package may change in NON backward compatible way, and should ONLY be used as a "runtime" dependency.
- JwkKeys() - Constructor for class com.okta.jwt.impl.jjwt.models.JwkKeys
- Jwt - Interface in com.okta.jwt
-
A Jwt object represents the claims Body of a JWT object.
- JwtVerificationException - Exception Class in com.okta.jwt
-
Thrown if a JWT is invalid or expired.
- JwtVerificationException(String) - Constructor for exception class com.okta.jwt.JwtVerificationException
- JwtVerificationException(String, Throwable) - Constructor for exception class com.okta.jwt.JwtVerificationException
- JwtVerifiers - Class in com.okta.jwt
-
Utility class to help load implementations of
IdTokenVerifier.Builder
andAccessTokenVerifier.Builder
.
M
- main(String[]) - Static method in class com.okta.jwt.example.QuickStartExample
O
- OktaCommonsHttpClient - Class in com.okta.jwt.impl.http
- OktaCommonsHttpClient(HttpClientConfiguration) - Constructor for class com.okta.jwt.impl.http.OktaCommonsHttpClient
- OktaCommonsHttpClient(RequestExecutor) - Constructor for class com.okta.jwt.impl.http.OktaCommonsHttpClient
Q
- QuickStartExample - Class in com.okta.jwt.example
- QuickStartExample() - Constructor for class com.okta.jwt.example.QuickStartExample
R
- ReadmeSnippets - Class in com.okta.jwt.example
-
Example snippets used for this projects README.md.
- ReadmeSnippets() - Constructor for class com.okta.jwt.example.ReadmeSnippets
- resolveKeysEndpoint(String) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- resolveKeysEndpoint(String) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
S
- self() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- self() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setAlgorithm(String) - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- setAudience(String) - Method in interface com.okta.jwt.AccessTokenVerifier.Builder
-
Sets the audience the verifier will expect.
- setAudience(String) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- setClientId(String) - Method in interface com.okta.jwt.IdTokenVerifier.Builder
-
Sets the
clienId
the verifier will expect. - setClientId(String) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setClock(Clock) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- setClock(Clock) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setClock(Clock) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
clock
the verifier will use for evaluating token expiration. - setConnectionTimeout(Duration) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- setConnectionTimeout(Duration) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setConnectionTimeout(Duration) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
connectionTimeout
for the verifier. - setIssuer(String) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- setIssuer(String) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setIssuer(String) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
issuer
the verifier will expect. - setKeyId(String) - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- setKeys(List<JwkKey>) - Method in class com.okta.jwt.impl.jjwt.models.JwkKeys
- setKeyType(String) - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- setLeeway(Duration) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- setLeeway(Duration) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setLeeway(Duration) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
leeway
the verifier will allow. - setPreloadSigningKeys(boolean) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- setPreloadSigningKeys(boolean) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setPreloadSigningKeys(boolean) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
preloadSigningKeys
the verifier will use to determine if it needs to prefetch Signing keys into cache at boot time. - setProxyHost(String) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- setProxyHost(String) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setProxyHost(String) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the proxy host used for the configured HTTP proxy.
- setProxyPassword(String) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- setProxyPassword(String) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setProxyPassword(String) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the proxy password used for the configured HTTP proxy.
- setProxyPort(int) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- setProxyPort(int) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setProxyPort(int) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the proxy port used for the configured HTTP proxy.
- setProxyUsername(String) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- setProxyUsername(String) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setProxyUsername(String) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the proxy username used for the configured HTTP proxy.
- setPublicKeyExponent(String) - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- setPublicKeyModulus(String) - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- setPublicKeyUse(String) - Method in class com.okta.jwt.impl.jjwt.models.JwkKey
- setRetryMaxAttempts(int) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- setRetryMaxAttempts(int) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setRetryMaxAttempts(int) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
retryMaxAttempts
the verifier will allow when making HTTP requests to the "keys" endpoint. - setRetryMaxElapsed(Duration) - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- setRetryMaxElapsed(Duration) - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- setRetryMaxElapsed(Duration) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
retryMaxElapsed
the verifier will allow when making HTTP requests to the "keys" endpoint. - signingKeyResolver() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- signingKeyResolver() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
V
- validate() - Method in class com.okta.jwt.impl.jjwt.JjwtAccessTokenVerifierBuilder
- validate() - Method in class com.okta.jwt.impl.jjwt.JjwtIdTokenVerifierBuilder
- VerifierBuilderSupport<B,
R> - Interface in com.okta.jwt -
JWT Verifier Builder support class (defines common properties used for general JWT validation).
All Classes and Interfaces|All Packages|Serialized Form