Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/main/java/com/authlete/common/dto/TokenRevokeRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@
* the API returns {@code 400 Bad Request}.
* </p>
* </ol>
*
* <p>
* 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.
* </p>
*
* @since 3.26
* @since Authlete 2.2.29
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;


Expand Down