Commit iniziale
This commit is contained in:
23
node_modules/@azure/msal-node/dist/request/InteractiveRequest.d.ts
generated
vendored
Normal file
23
node_modules/@azure/msal-node/dist/request/InteractiveRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
/// <reference types="node" resolution-mode="require"/>
|
||||
import { CommonAuthorizationUrlRequest } from "@azure/msal-common/node";
|
||||
import { ILoopbackClient } from "../network/ILoopbackClient.js";
|
||||
/**
|
||||
* Request object passed by user to configure acquireTokenInteractive API
|
||||
*
|
||||
* - openBrowser - Function to open a browser instance on user's system.
|
||||
* - scopes - Array of scopes the application is requesting access to.
|
||||
* - successTemplate: - Template to be displayed on the opened browser instance upon successful token acquisition.
|
||||
* - errorTemplate - Template to be displayed on the opened browser instance upon token acquisition failure.
|
||||
* - windowHandle - Used in native broker flows to properly parent the native broker window
|
||||
* - loopbackClient - Custom implementation for a loopback server to listen for authorization code response.
|
||||
* @public
|
||||
*/
|
||||
export type InteractiveRequest = Partial<Omit<CommonAuthorizationUrlRequest, "scopes" | "redirectUri" | "requestedClaimsHash" | "storeInCache">> & {
|
||||
openBrowser: (url: string) => Promise<void>;
|
||||
scopes?: Array<string>;
|
||||
successTemplate?: string;
|
||||
errorTemplate?: string;
|
||||
windowHandle?: Buffer;
|
||||
loopbackClient?: ILoopbackClient;
|
||||
};
|
||||
//# sourceMappingURL=InteractiveRequest.d.ts.map
|
||||
Reference in New Issue
Block a user