Package com.okta.jwt
Class JwtVerifiers
java.lang.Object
com.okta.jwt.JwtVerifiers
Utility class to help load implementations of
IdTokenVerifier.Builder
and AccessTokenVerifier.Builder
.
Example usage:
AccessTokenVerifier jwtVerifier = JwtVerifiers.accessTokenVerifierBuilder() .setIssuer(issuerUrl) .setAudience(audience) .build();
- Since:
- 0.4
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccessTokenVerifier.Builder
Creates an instance of AccessTokenVerifier.Builder.static IdTokenVerifier.Builder
Creates an instance of IdTokenVerifier.Builder.
-
Method Details
-
idTokenVerifierBuilder
Creates an instance of IdTokenVerifier.Builder.- Returns:
- an instance of IdTokenVerifier.Builder
-
accessTokenVerifierBuilder
Creates an instance of AccessTokenVerifier.Builder.- Returns:
- an instance of AccessTokenVerifier.Builder
-