File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
lib/src/main/java/com/auth0/jwt/interfaces Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments