UNPKG

httpyac

Version:

HTTP/REST CLI Client for *.http files

14 lines (13 loc) 556 B
import type * as models from '../../../models'; import { OpenIdFlow } from './openIdFlow'; declare class DeviceCodeFlow implements OpenIdFlow { supportsFlow(flow: string): boolean; getCacheKey(config: models.OpenIdConfiguration): string; perform(config: models.OpenIdConfiguration, context: models.OpenIdContext): Promise<models.OpenIdInformation | false>; private logResponse; private authenticateUser; private requestDeviceAuthorization; private showUserCode; } export declare const deviceCodeFlow: DeviceCodeFlow; export {};