Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / AuthorizeDeviceOptions
Interface: AuthorizeDeviceOptions
Defined in: packages/security/src/oauth/types.ts:201
Options accepted by OAuthClient.authorizeDevice(...).
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
onUserCode? | readonly | (info) => void | Hook called once the device authorization response arrives. The UI / CLI prints the user code + verification URL. | packages/security/src/oauth/types.ts:209 |
scope? | readonly | string | - | packages/security/src/oauth/types.ts:202 |
signal? | readonly | AbortSignal | Cancellation. | packages/security/src/oauth/types.ts:211 |
timeoutMs? | readonly | number | Maximum time spent polling. Defaults to the server's expires_in. | packages/security/src/oauth/types.ts:204 |