Package com.okta.jwt
Interface IdTokenVerifier
- All Known Implementing Classes:
JjwtIdTokenVerifier
public interface IdTokenVerifier
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder interface used to simplify construction of a IdTokenVerifier. -
Method Summary
-
Method Details
-
decode
Validates the givenidToken. Validates this token is valid Okta id token that has not expired.- Parameters:
idToken- string JWT id token to validatenonce- ID Token nonce - nullable- Returns:
- a decoded JWT
- Throws:
JwtVerificationException- when parsing or validation errors occur
-