wangzhibo
2026-05-09 53418655c061ac26f66058253f39200aced1ab1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { DeviceCodeResponse } from "@azure/msal-common/node";
import { CommonDeviceCodeRequest } from "./CommonDeviceCodeRequest.js";
/**
 * Parameters for Oauth2 device code flow.
 * @public
 */
export type DeviceCodeRequest = Partial<Omit<CommonDeviceCodeRequest, "scopes" | "deviceCodeCallback" | "resourceRequestMethod" | "resourceRequestUri" | "storeInCache">> & {
    /**
     * Array of scopes the application is requesting access to.
     */
    scopes: Array<string>;
    /**
     * Callback containing device code response. Message should be shown to end user. End user can then navigate to the verification_uri, input the user_code, and input credentials.
     */
    deviceCodeCallback: (response: DeviceCodeResponse) => void;
};
//# sourceMappingURL=DeviceCodeRequest.d.ts.map