From 1c58092feb71bc7f2778a6a0c6c24dbe07e5460e Mon Sep 17 00:00:00 2001
From: fabiohidekihirose
+ * Bulk revocation with `clientIdentifier` only, `clientIdentifier` + `subject`, + * or `subject` only deletes at most **20 tokens per request** + * (the default of `token.revoke.count.max` in `ServerConfiguration.java`). If the + * target has more than 20 tokens, the response `count` will be 20 and the remainder + * is left untouched. To fully wipe them, call the endpoint repeatedly until `count` returns 0. + *
* * @since 3.26 * @since Authlete 2.2.29 diff --git a/src/main/java/com/authlete/common/dto/TokenRevokeResponse.java b/src/main/java/com/authlete/common/dto/TokenRevokeResponse.java index 3286520b27..9a4b9b4f8f 100644 --- a/src/main/java/com/authlete/common/dto/TokenRevokeResponse.java +++ b/src/main/java/com/authlete/common/dto/TokenRevokeResponse.java @@ -26,7 +26,11 @@ public class TokenRevokeResponse extends ApiResponse { private static final long serialVersionUID = 1L; - + /** + * If the + * target has more than 20 tokens, the response `count` will be 20 and the remainder + * is left untouched. To fully wipe them, call the endpoint repeatedly until `count` returns 0. + */ private int count;