Options
All
  • Public
  • Public/Protected
  • All
Menu

Utility class for browser specific functions

Hierarchy

  • BrowserUtils

Index

Constructors

constructor

Methods

Static blockAcquireTokenInPopups

  • blockAcquireTokenInPopups(): void

Static blockNonBrowserEnvironment

  • blockNonBrowserEnvironment(isBrowserEnvironment: boolean): void
  • Throws error if token requests are made in non-browser environment

    Parameters

    • isBrowserEnvironment: boolean

      Flag indicating if environment is a browser.

    Returns void

Static blockRedirectInIframe

  • blockRedirectInIframe(interactionType: InteractionType, allowRedirectInIframe: boolean): void
  • Block redirect operations in iframes unless explicitly allowed

    Parameters

    • interactionType: InteractionType

      Interaction type for the request

    • allowRedirectInIframe: boolean

      Config value to allow redirects when app is inside an iframe

    Returns void

Static blockReloadInHiddenIframes

  • blockReloadInHiddenIframes(): void

Static clearHash

  • clearHash(contentWindow: Window): void

Static detectIEOrEdge

  • detectIEOrEdge(): boolean

Static getBrowserNetworkClient

Static getCurrentUri

  • getCurrentUri(): string

Static getHomepage

  • getHomepage(): string

Static isInIframe

  • isInIframe(): boolean

Static isInPopup

  • isInPopup(): boolean

Static replaceHash

  • replaceHash(url: string): void

Generated using TypeDoc