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
| Parameter | Type | Description |
|---|---|---|
storage | OAuthServerStore | - |
serverId | string | - |
options | { reason?: string; secretsStore?: SecretsStore; signal?: AbortSignal; } | - |
options.reason? | string | - |
options.secretsStore? | SecretsStore | SPL-1: resolves the persisted tokens so RFC 7009 actually fires. |
options.signal? | AbortSignal | - |
Returns
Promise<void>