![JAR search and dependency download from the Maven repository](/logo.png)
com.auth0.jwt.interfaces.Verification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-jwt-nodependencies Show documentation
Show all versions of java-jwt-nodependencies Show documentation
This is a drop in replacement for the auth0 java-jwt library (see https://github.com/auth0/java-jwt). This jar makes sure there are no external dependencies (e.g. fasterXml, Apacha Commons) needed. This is useful when deploying to an application server (e.g. tomcat with Alfreso or Pega).
The newest version!
package com.auth0.jwt.interfaces;
import com.auth0.jwt.JWTVerifier;
import java.util.Date;
public interface Verification {
Verification withIssuer(String issuer);
Verification withSubject(String subject);
Verification withAudience(String... audience);
Verification acceptLeeway(long leeway) throws IllegalArgumentException;
Verification acceptExpiresAt(long leeway) throws IllegalArgumentException;
Verification acceptNotBefore(long leeway) throws IllegalArgumentException;
Verification acceptIssuedAt(long leeway) throws IllegalArgumentException;
Verification withJWTId(String jwtId);
Verification withClaim(String name, Boolean value) throws IllegalArgumentException;
Verification withClaim(String name, Integer value) throws IllegalArgumentException;
Verification withClaim(String name, Long value) throws IllegalArgumentException;
Verification withClaim(String name, Double value) throws IllegalArgumentException;
Verification withClaim(String name, String value) throws IllegalArgumentException;
Verification withClaim(String name, Date value) throws IllegalArgumentException;
Verification withArrayClaim(String name, String... items) throws IllegalArgumentException;
Verification withArrayClaim(String name, Integer... items) throws IllegalArgumentException;
JWTVerifier build();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy