revoke token
This block is part of the session management group and was last modified in core v12.0.7.
revoke token v12.0.7 Revokes all access tokens based of the authentication document.
- flow
flow - auth. guid required
valueThe GUID of authentication storage document, not the access token.
- flow
flow - revoked
conditionReturns true if we could successfully revoke the given authentication document and the access-tokens generated from it.
- error
value
Revokes the authentication session identified by the guid pin (the auth document's GUID, not the access token). revoked=true when the revoke call succeeds; revoked=false with error "No guid given." when guid is empty or unwired, or with the revoke error message on failure.
A typical wiring for revoke token: branch feeds the flow pin; value feeds the guid pin; the flow out pin feeds branch.
Commonly used with
In production blueprints, this block is most often wired together with:
- branch: wired in both directions with this block.
- get fields: feeds into this block. Gets the selected fields from the given object.
- new object: this block feeds into it. Builds a new object filled with the given fields.
- create: feeds into this block. Creates a new function that can be executed using the given name.
Version history
Introduced in v12.0.7.
Back to
session management Return to the main group to view all sub-groups Back to session management Return to the group to view all blocks within this group 