Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/mcp / / OAuthAuthorizationProviderOptions
Interface: OAuthAuthorizationProviderOptions
Defined in: packages/mcp/src/oauth/bridge.ts:25
Options accepted by createOAuthAuthorizationProvider.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
refreshAheadMs? | readonly | number | Time-to-refresh window in milliseconds. When the session is within refreshAheadMs of expiry the provider triggers a refresh on the next request. Defaults to 5 minutes. | packages/mcp/src/oauth/bridge.ts:35 |
serverId | readonly | string | Stable identifier of the persisted OAuth server (serverId). | packages/mcp/src/oauth/bridge.ts:27 |
signal? | readonly | AbortSignal | Optional per-request AbortSignal (forwarded to refresh). | packages/mcp/src/oauth/bridge.ts:37 |
storage | readonly | OAuthServerStore | Persistent storage. | packages/mcp/src/oauth/bridge.ts:29 |