Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/security / / AuthorizeDeviceOptions
Interface: AuthorizeDeviceOptions
Defined in: packages/security/src/oauth/types.ts:216
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:224 |
scope? | readonly | string | - | packages/security/src/oauth/types.ts:217 |
signal? | readonly | AbortSignal | Cancellation. | packages/security/src/oauth/types.ts:226 |
timeoutMs? | readonly | number | Maximum time spent polling. Defaults to the server's expires_in. | packages/security/src/oauth/types.ts:219 |