MCPcopy Index your code
hub / github.com/auth0/java-jwt / init

Method init

lib/src/main/java/com/auth0/jwt/JWTVerifier.java:44–46  ·  view source on GitHub ↗

Initialize a Verification instance using the given Algorithm. @param algorithm the Algorithm to use on the JWT verification. @return a Verification instance to configure. @throws IllegalArgumentException if the provided algorithm is null.

(Algorithm algorithm)

Source from the content-addressed store, hash-verified

42 * @throws IllegalArgumentException if the provided algorithm is null.
43 */
44 static Verification init(Algorithm algorithm) throws IllegalArgumentException {
45 return new BaseVerification(algorithm);
46 }
47
48 /**
49 * {@link Verification} implementation that accepts all the expected Claim values for verification, and

Calls

no outgoing calls