Skip to content

Graphorin API reference v0.12.1


Graphorin API reference / @graphorin/mcp / / mcpAuthRevoke

Function: mcpAuthRevoke()

ts
function mcpAuthRevoke(
   storage, 
   serverId, 
options?): Promise<void>;

Defined in: packages/mcp/src/oauth/library.ts:55

Drive graphorin auth revoke --mcp <id>.

Parameters

ParameterTypeDescription
storageOAuthServerStore-
serverIdstring-
options{ reason?: string; secretsStore?: SecretsStore; signal?: AbortSignal; }-
options.reason?string-
options.secretsStore?SecretsStoreSPL-1: resolves the persisted tokens so RFC 7009 actually fires.
options.signal?AbortSignal-

Returns

Promise&lt;void&gt;