Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / DeviceAuthorizationFlowArgs
Interface: DeviceAuthorizationFlowArgs
Defined in: packages/security/src/oauth/authorize-device-flow.ts:48
Internal arguments fed into runDeviceAuthorizationFlow.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
metadata | readonly | DiscoveredMetadata | - | packages/security/src/oauth/authorize-device-flow.ts:50 |
options | readonly | AuthorizeDeviceOptions | - | packages/security/src/oauth/authorize-device-flow.ts:52 |
registration | readonly | OAuthRegistration | - | packages/security/src/oauth/authorize-device-flow.ts:51 |
serverId | readonly | string | - | packages/security/src/oauth/authorize-device-flow.ts:49 |
sleep? | readonly | (ms, signal?) => Promise<void> | Sleep helper. Defaults to setTimeout. Tests use this to fast- forward the polling cadence. | packages/security/src/oauth/authorize-device-flow.ts:57 |