Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / CreateOAuthClientOptions
Interface: CreateOAuthClientOptions
Defined in: packages/security/src/oauth/types.ts:76
Configuration options for createOAuthClient(...).
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
logger? | readonly | (level, message, fields?) => void | Optional logger. | packages/security/src/oauth/types.ts:90 |
metadata? | readonly | DiscoveredMetadata | Optional pre-discovered metadata (skip the network round-trip). | packages/security/src/oauth/types.ts:88 |
refreshAheadMs? | readonly | number | Refresh-ahead window (ms before expiresAt triggers a refresh). | packages/security/src/oauth/types.ts:86 |
registration? | readonly | OAuthRegistration | Stored / persistent registration metadata. | packages/security/src/oauth/types.ts:82 |
serverId | readonly | string | Stable identifier; persisted into the OAuthServerStore. | packages/security/src/oauth/types.ts:78 |
serverUrl | readonly | string | Base URL of the OAuth-protected resource server. | packages/security/src/oauth/types.ts:80 |
storage | readonly | OAuthServerStore | Persistent storage for the registration + token-ref metadata. | packages/security/src/oauth/types.ts:84 |