Skip to content

Commit

Permalink
Fix Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
skjolber authored and lbalmaceda committed Feb 14, 2020
1 parent 9f5cb26 commit 5fa3fe3
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions lib/src/main/java/com/auth0/jwt/interfaces/Verification.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,17 +161,25 @@ public interface Verification {
Verification withArrayClaim(String name, Integer... items) throws IllegalArgumentException;

/**
* Creates a new and reusable instance of the JWTVerifier with the configuration already provided.
* Require a specific Array Claim to contain at least the given items.
*
* @return a new JWTVerifier instance.
* @param name the Claim's name.
* @param items the items the Claim must contain.
* @return this same Verification instance.
* @throws IllegalArgumentException if the name is null.
*/

Verification withArrayClaim(String name, Long ... items) throws IllegalArgumentException;


/**
* Skip the Issued At ("iat") date verification. By default, the verification is performed.
*/
Verification ignoreIssuedAt();

/**
* Creates a new and reusable instance of the JWTVerifier with the configuration already provided.
*
* @return a new JWTVerifier instance.
*/
JWTVerifier build();
}

0 comments on commit 5fa3fe3

Please sign in to comment.