Graphorin API reference v0.12.1
Graphorin API reference / @graphorin/mcp / / mcpAuthRefresh
Function: mcpAuthRefresh()
ts
function mcpAuthRefresh(
storage,
serverId,
options?): Promise<OAuthSession>;Defined in: packages/mcp/src/oauth/library.ts:42
Drive graphorin auth refresh --mcp <id>.
Parameters
| Parameter | Type | Description |
|---|---|---|
storage | OAuthServerStore | - |
serverId | string | - |
options | { secretsStore?: SecretsStore; signal?: AbortSignal; } | - |
options.secretsStore? | SecretsStore | SPL-1: resolves the persisted refresh token across processes. |
options.signal? | AbortSignal | - |
Returns
Promise<OAuthSession>