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 interface com.okta.jwt.VerifierBuilderSupport
-
Constructs a JWT Verifier.
C
- com.okta.jwt - package com.okta.jwt
D
- decode(String) - Method in interface com.okta.jwt.AccessTokenVerifier
-
Validates the given
accessToken. - decode(String, String) - Method in interface com.okta.jwt.IdTokenVerifier
-
Validates the given
idToken.
G
- getClaims() - Method in interface com.okta.jwt.Jwt
-
Returns the token body clams as Map.
- getExpiresAt() - Method in interface com.okta.jwt.Jwt
-
Returns the `exp` claim value as an
Instant. - getIssuedAt() - Method in interface com.okta.jwt.Jwt
-
Returns the `iat` claim value as an
Instant. - getTokenValue() - Method in interface com.okta.jwt.Jwt
-
Returns the original string representation of this JWT.
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
- 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.BuilderandAccessTokenVerifier.Builder.
S
- setAudience(String) - Method in interface com.okta.jwt.AccessTokenVerifier.Builder
-
Sets the audience the verifier will expect.
- setClientId(String) - Method in interface com.okta.jwt.IdTokenVerifier.Builder
-
Sets the
clienIdthe verifier will expect. - setClock(Clock) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
clockthe verifier will use for evaluating token expiration. - setConnectionTimeout(Duration) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
connectionTimeoutfor the verifier. - setIssuer(String) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
issuerthe verifier will expect. - setLeeway(Duration) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
leewaythe verifier will allow. - setPreloadSigningKeys(boolean) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
preloadSigningKeysthe verifier will use to determine if it needs to prefetch Signing keys into cache at boot time. - setProxyHost(String) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the proxy host used for the configured HTTP proxy.
- setProxyPassword(String) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the proxy password used for the configured HTTP proxy.
- setProxyPort(int) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the proxy port used for the configured HTTP proxy.
- setProxyUsername(String) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the proxy username used for the configured HTTP proxy.
- setRetryMaxAttempts(int) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
retryMaxAttemptsthe verifier will allow when making HTTP requests to the "keys" endpoint. - setRetryMaxElapsed(Duration) - Method in interface com.okta.jwt.VerifierBuilderSupport
-
Sets the
retryMaxElapsedthe verifier will allow when making HTTP requests to the "keys" endpoint.
V
- 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