mirror of
https://github.com/rommapp/romm.git
synced 2026-12-05 23:44:11 +01:00
- device/init returns a relative verification_path; the client joins it with its own origin - Render the v2 approval screen via the named v2 router outlet (was blank) - DevicePair: RSpinner, keyboard-accessible scope chips, scrollable scopes; DevicePairShell uses always-light overlay tokens (no hex)
20 lines
572 B
TypeScript
20 lines
572 B
TypeScript
/* generated using openapi-typescript-codegen -- do not edit */
|
|
/* istanbul ignore file */
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
export type DeviceAuthInitResponse = {
|
|
device_code: string;
|
|
user_code: string;
|
|
/**
|
|
* Relative web-UI path (/pair/device). The client joins it with the origin it was configured to reach; the server is origin-agnostic.
|
|
*/
|
|
verification_path: string;
|
|
/**
|
|
* Same path with ?user_code= appended, for QR display.
|
|
*/
|
|
verification_path_complete: string;
|
|
expires_in: number;
|
|
interval: number;
|
|
};
|
|
|