Skip to content

Commit 5fa3fe3

Browse files
skjolberlbalmaceda
authored andcommitted
Fix Javadoc
1 parent 9f5cb26 commit 5fa3fe3

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

lib/src/main/java/com/auth0/jwt/interfaces/Verification.java

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,17 +161,25 @@ public interface Verification {
161161
Verification withArrayClaim(String name, Integer... items) throws IllegalArgumentException;
162162

163163
/**
164-
* Creates a new and reusable instance of the JWTVerifier with the configuration already provided.
164+
* Require a specific Array Claim to contain at least the given items.
165165
*
166-
* @return a new JWTVerifier instance.
166+
* @param name the Claim's name.
167+
* @param items the items the Claim must contain.
168+
* @return this same Verification instance.
169+
* @throws IllegalArgumentException if the name is null.
167170
*/
171+
168172
Verification withArrayClaim(String name, Long ... items) throws IllegalArgumentException;
169173

170-
171174
/**
172175
* Skip the Issued At ("iat") date verification. By default, the verification is performed.
173176
*/
174177
Verification ignoreIssuedAt();
175178

179+
/**
180+
* Creates a new and reusable instance of the JWTVerifier with the configuration already provided.
181+
*
182+
* @return a new JWTVerifier instance.
183+
*/
176184
JWTVerifier build();
177185
}

0 commit comments

Comments
 (0)