MCPcopy
hub / github.com/refly-ai/refly / DeviceSessionInfo

Interface DeviceSessionInfo

packages/cli/src/commands/login.ts:88–96  ·  view source on GitHub ↗

* Device authorization flow response types

Source from the content-addressed store, hash-verified

86 * Device authorization flow response types
87 */
88interface DeviceSessionInfo {
89 deviceId: string;
90 cliVersion: string;
91 host: string;
92 status: 'pending' | 'authorized' | 'cancelled' | 'expired';
93 createdAt: string;
94 expiresAt: string;
95 userCode?: string;
96}
97
98interface DeviceSessionWithTokens extends DeviceSessionInfo {
99 accessToken?: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected