@azure/msal-browser
Version:
Microsoft Authentication Library for js
17 lines • 703 B
TypeScript
import { IPerformanceClient, Logger, ProtocolMode } from "@azure/msal-common/browser";
/**
* Returns true when the supplied user agent is using Safari
*
* @internal
*/
export declare function isSafari(userAgent?: string): boolean;
/**
* Returns true when EAR should be used for the current request.
*
* Safari cannot complete EAR's cross-origin form POST, so requests configured
* for EAR transparently use authorization code flow instead.
*
* @internal
*/
export declare function shouldUseEar(protocolMode: ProtocolMode, logger: Logger, performanceClient: IPerformanceClient, correlationId: string, userAgent?: string): boolean;
//# sourceMappingURL=BrowserDetection.d.ts.map