UNPKG

@kwiz/common

Version:

KWIZ common utilities and helpers for M365 platform

8 lines (7 loc) 590 B
import { AzureEnvironment, ITenantInfo } from "../../types/auth"; export declare function DiscoverTenantInfo(hostName: string, sync?: false): Promise<ITenantInfo>; export declare function DiscoverTenantInfo(hostName: string, sync: true): ITenantInfo; export declare function AutoDiscoverTenantInfo(sync?: false): Promise<ITenantInfo>; export declare function AutoDiscoverTenantInfo(sync: true): ITenantInfo; export declare function GetEnvironmentFromACSEndPoint(ACSEndPoint: string): AzureEnvironment; export declare function GetAzureADLoginEndPoint(environment: AzureEnvironment): string;