Package com.auth0.jwt.interfaces
Interface Verification
- All Known Implementing Classes:
JWTVerifier.BaseVerification
public interface Verification
-
Method Summary
Modifier and TypeMethodDescriptionacceptExpiresAt(long leeway) acceptIssuedAt(long leeway) acceptLeeway(long leeway) acceptNotBefore(long leeway) build()withArrayClaim(String name, Integer... items) withArrayClaim(String name, String... items) withAudience(String... audience) withIssuer(String... issuer) withSubject(String subject)
-
Method Details
-
withIssuer
-
withSubject
-
withAudience
-
acceptLeeway
- Throws:
IllegalArgumentException
-
acceptExpiresAt
- Throws:
IllegalArgumentException
-
acceptNotBefore
- Throws:
IllegalArgumentException
-
acceptIssuedAt
- Throws:
IllegalArgumentException
-
withJWTId
-
withClaim
- Throws:
IllegalArgumentException
-
withClaim
- Throws:
IllegalArgumentException
-
withClaim
- Throws:
IllegalArgumentException
-
withClaim
- Throws:
IllegalArgumentException
-
withClaim
- Throws:
IllegalArgumentException
-
withClaim
- Throws:
IllegalArgumentException
-
withArrayClaim
- Throws:
IllegalArgumentException
-
withArrayClaim
- Throws:
IllegalArgumentException
-
ignoreIssuedAt
Verification ignoreIssuedAt() -
build
JWTVerifier build()
-