Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / revokeOAuthToken

Function: revokeOAuthToken()

ts
function revokeOAuthToken(args): Promise<void>;

Defined in: packages/security/src/oauth/refresh.ts:127

Revoke an OAuth token via RFC 7009. The metadata must advertise the revocation endpoint; otherwise the helper resolves silently — the audit log records the revocation regardless.

Parameters

ParameterType
argsRevokeOAuthTokenArgs

Returns

Promise&lt;void&gt;

Stable