Files
powerpoint-toolbox/node_modules/@azure/msal-node/src/network/ILoopbackClient.ts
T
2025-03-07 19:22:02 +01:00

20 lines
538 B
TypeScript

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { ServerAuthorizationCodeResponse } from "@azure/msal-common/node";
/**
* Interface for LoopbackClient allowing to replace the default loopback server with a custom implementation.
* @public
*/
export interface ILoopbackClient {
listenForAuthCode(
successTemplate?: string,
errorTemplate?: string
): Promise<ServerAuthorizationCodeResponse>;
getRedirectUri(): string;
closeServer(): void;
}