Skip to content

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

PropertyModifierTypeDescriptionDefined in
onUserCode?readonly(info) => voidHook called once the device authorization response arrives. The UI / CLI prints the user code + verification URL.packages/security/src/oauth/types.ts:209
scope?readonlystring-packages/security/src/oauth/types.ts:202
signal?readonlyAbortSignalCancellation.packages/security/src/oauth/types.ts:211
timeoutMs?readonlynumberMaximum time spent polling. Defaults to the server's expires_in.packages/security/src/oauth/types.ts:204