UNPKG

@withkeystone/cli

Version:

Keystone CLI - Test automation for modern web apps

18 lines 434 B
interface TokenPair { access_token: string; refresh_token: string; expires_in: number; } interface AuthConfig { apiUrl: string; appUrl: string; } export declare class DeviceFlowAuthenticator { private config; constructor(config: AuthConfig); authenticate(): Promise<TokenPair>; private requestDeviceCode; private pollForTokens; } export {}; //# sourceMappingURL=DeviceFlowAuthenticator.d.ts.map