public interface Verification
| Modifier and Type | Method and Description |
|---|---|
Verification |
acceptExpiresAt(long leeway) |
Verification |
acceptIssuedAt(long leeway) |
Verification |
acceptLeeway(long leeway) |
Verification |
acceptNotBefore(long leeway) |
JWTVerifier |
build() |
Verification |
withArrayClaim(String name,
Integer... items) |
Verification |
withArrayClaim(String name,
String... items) |
Verification |
withAudience(String... audience) |
Verification |
withClaim(String name,
Boolean value) |
Verification |
withClaim(String name,
Date value) |
Verification |
withClaim(String name,
Double value) |
Verification |
withClaim(String name,
Integer value) |
Verification |
withClaim(String name,
Long value) |
Verification |
withClaim(String name,
String value) |
Verification |
withIssuer(String issuer) |
Verification |
withJWTId(String jwtId) |
Verification |
withSubject(String subject) |
Verification withIssuer(String issuer)
Verification withSubject(String subject)
Verification withAudience(String... audience)
Verification acceptLeeway(long leeway) throws IllegalArgumentException
IllegalArgumentExceptionVerification acceptExpiresAt(long leeway) throws IllegalArgumentException
IllegalArgumentExceptionVerification acceptNotBefore(long leeway) throws IllegalArgumentException
IllegalArgumentExceptionVerification acceptIssuedAt(long leeway) throws IllegalArgumentException
IllegalArgumentExceptionVerification withJWTId(String jwtId)
Verification withClaim(String name, Boolean value) throws IllegalArgumentException
IllegalArgumentExceptionVerification withClaim(String name, Integer value) throws IllegalArgumentException
IllegalArgumentExceptionVerification withClaim(String name, Long value) throws IllegalArgumentException
IllegalArgumentExceptionVerification withClaim(String name, Double value) throws IllegalArgumentException
IllegalArgumentExceptionVerification withClaim(String name, String value) throws IllegalArgumentException
IllegalArgumentExceptionVerification withClaim(String name, Date value) throws IllegalArgumentException
IllegalArgumentExceptionVerification withArrayClaim(String name, String... items) throws IllegalArgumentException
IllegalArgumentExceptionVerification withArrayClaim(String name, Integer... items) throws IllegalArgumentException
IllegalArgumentExceptionJWTVerifier build()
Copyright © 2017. All rights reserved.