import * as Msal from "msal"; import { IAuthenticationService } from "./IAuthenticationService"; export declare class MsalAuthenticationService implements IAuthenticationService { protected clientId: any; protected scopes: string[]; protected tenantId: string; protected cacheLocation: "sessionStorage" | "localStorage"; protected msalInstance: Msal.UserAgentApplication; protected resourceTokenMap: Map; /** * Initializes new instance of AuthenticationService * @param clientId AppId of an AAD app You configured in AAD. */ constructor(clientId: any, scopes?: string[], tenantId?: string, cacheLocation?: "sessionStorage" | "localStorage"); redirectCallback(error: any, response: any): void; logIn(resource?: string): Promise; isAuthenticated(): Promise; logout(): Promise; clearCache(): Promise; getAccessToken(resource?: string): Promise; private getTokenSilent; }