public interface IdTokenVerifier
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IdTokenVerifier.Builder
Builder interface used to simplify construction of a IdTokenVerifier.
|
| Modifier and Type | Method and Description |
|---|---|
Jwt |
decode(java.lang.String idToken,
java.lang.String nonce)
Validates the given
idToken. |
Jwt decode(java.lang.String idToken, java.lang.String nonce) throws JwtVerificationException
idToken. Validates this token is valid Okta id token that has not expired.idToken - string JWT id token to validatenonce - ID Token nonce - nullableJwtVerificationException - when parsing or validation errors occurCopyright © 2017-2022 Okta. All Rights Reserved.