Revocation
Revoke a token, a session, an app's access, an agent or everything a user holds, and know how fast each kind of API stops accepting it.
A token is good until it expires, unless the realm revokes it first. You can revoke one token, a whole sign-in’s worth, an app’s access to a user, an agent and every agent beneath it, or everything a user holds. The realm refuses a revoked token at once, and so does every enforcement point that keeps up with it: the gateway within one poll of the realm’s revocation feed, ten seconds by default.
The one idea to hold on to: how fast a revocation bites depends on how your API checks tokens. An API that asks the realm, or sits behind the gateway, stops a revoked token within seconds. An API that only checks signatures keeps accepting it until it expires, which is why access tokens live five minutes by default.
Capabilities
Section titled “Capabilities”Take access back
Section titled “Take access back”| Capability | What it gives you |
|---|---|
| Tokens and sign-ins | One token, every token exchanged from it, or a refresh token’s whole family |
| Sessions | A session’s end stops every token that names it |
| An app’s access | A user takes back an app, and its tokens for them stop |
| A delegation | A user takes back an agent, and every token where it acts for them stops |
| Agent kill switch | Killing or quarantining an agent stops its tokens, the agents beneath it, and every token it acts in |
| Quarantine | A quarantined agent can’t get a token, and the ones it holds stop |
| Everything a user holds | Every token and grant a user held before a moment, from a signal or by setting them inactive |
| Delegation chains | Every agent in a token’s act chain, and every token it came from, is checked |
Make it stick everywhere
Section titled “Make it stick everywhere”| Capability | What it gives you |
|---|---|
| How fast revocation takes effect | The gateway refuses a revoked token within one poll, and refuses everything when its list is stale |
| Revocation feed | Every live revocation, for your own enforcement point to hold |
Coming next
Section titled “Coming next”- Instant revocation: a revocation pushed to every gateway the moment it happens.