Variable BrowserAuthErrorMessageConst

BrowserAuthErrorMessage: {
    authCodeOrNativeAccountRequired: {
        code: string;
        desc: string;
    };
    authCodeRequired: {
        code: string;
        desc: string;
    };
    authRequestNotSet: {
        code: string;
        desc: string;
    };
    blockAcquireTokenInPopupsError: {
        code: string;
        desc: string;
    };
    blockTokenRequestsInHiddenIframeError: {
        code: string;
        desc: string;
    };
    cryptoDoesNotExist: {
        code: string;
        desc: string;
    };
    databaseNotOpen: {
        code: string;
        desc: string;
    };
    databaseUnavailable: {
        code: string;
        desc: string;
    };
    emptyNavigateUriError: {
        code: string;
        desc: string;
    };
    emptyWindowError: {
        code: string;
        desc: string;
    };
    failedToParseNetworkResponse: {
        code: string;
        desc: string;
    };
    getRequestFailed: {
        code: string;
        desc: string;
    };
    hashDoesNotContainKnownPropertiesError: {
        code: string;
        desc: string;
    };
    hashDoesNotContainStateError: {
        code: string;
        desc: string;
    };
    hashEmptyError: {
        code: string;
        desc: string;
    };
    iframeClosedPrematurelyError: {
        code: string;
        desc: string;
    };
    interactionInProgress: {
        code: string;
        desc: string;
    };
    invalidBase64StringError: {
        code: string;
        desc: string;
    };
    invalidCacheType: {
        code: string;
        desc: string;
    };
    invalidPopTokenRequest: {
        code: string;
        desc: string;
    };
    monitorIframeTimeoutError: {
        code: string;
        desc: string;
    };
    monitorPopupTimeoutError: {
        code: string;
        desc: string;
    };
    nativeConnectionNotEstablished: {
        code: string;
        desc: string;
    };
    nativeExtensionNotInstalled: {
        code: string;
        desc: string;
    };
    nativeHandshakeTimeout: {
        code: string;
        desc: string;
    };
    nativePromptNotSupported: {
        code: string;
        desc: string;
    };
    noAccountError: {
        code: string;
        desc: string;
    };
    noCachedAuthorityError: {
        code: string;
        desc: string;
    };
    noNetworkConnectivity: {
        code: string;
        desc: string;
    };
    noTokenRequestCacheError: {
        code: string;
        desc: string;
    };
    notInBrowserEnvironment: {
        code: string;
        desc: string;
    };
    pkceNotGenerated: {
        code: string;
        desc: string;
    };
    popupWindowError: {
        code: string;
        desc: string;
    };
    postRequestFailed: {
        code: string;
        desc: string;
    };
    redirectInIframeError: {
        code: string;
        desc: string;
    };
    signingKeyNotFoundInStorage: {
        code: string;
        desc: string;
    };
    silentLogoutUnsupportedError: {
        code: string;
        desc: string;
    };
    silentPromptValueError: {
        code: string;
        desc: string;
    };
    spaCodeAndNativeAccountPresent: {
        code: string;
        desc: string;
    };
    stateInteractionTypeMismatchError: {
        code: string;
        desc: string;
    };
    unableToAcquireTokenFromNativePlatform: {
        code: string;
        desc: string;
    };
    unableToLoadTokenError: {
        code: string;
        desc: string;
    };
    unableToParseStateError: {
        code: string;
        desc: string;
    };
    unableToParseTokenRequestCacheError: {
        code: string;
        desc: string;
    };
    uninitializedPublicClientApplication: {
        code: string;
        desc: string;
    };
    userCancelledError: {
        code: string;
        desc: string;
    };
} = ...

BrowserAuthErrorMessage class containing string constants used by error codes and messages.

Type declaration

  • authCodeOrNativeAccountRequired: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • authCodeRequired: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • authRequestNotSet: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • blockAcquireTokenInPopupsError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • blockTokenRequestsInHiddenIframeError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • cryptoDoesNotExist: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • databaseNotOpen: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • databaseUnavailable: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • emptyNavigateUriError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • emptyWindowError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • failedToParseNetworkResponse: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • getRequestFailed: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • hashDoesNotContainKnownPropertiesError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • hashDoesNotContainStateError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • hashEmptyError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • iframeClosedPrematurelyError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • interactionInProgress: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • invalidBase64StringError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • invalidCacheType: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • invalidPopTokenRequest: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • monitorIframeTimeoutError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • monitorPopupTimeoutError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • nativeConnectionNotEstablished: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • nativeExtensionNotInstalled: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • nativeHandshakeTimeout: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • nativePromptNotSupported: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • noAccountError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • noCachedAuthorityError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • noNetworkConnectivity: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • noTokenRequestCacheError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • notInBrowserEnvironment: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • pkceNotGenerated: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • popupWindowError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • postRequestFailed: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • redirectInIframeError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • signingKeyNotFoundInStorage: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • silentLogoutUnsupportedError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • silentPromptValueError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • spaCodeAndNativeAccountPresent: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • stateInteractionTypeMismatchError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • unableToAcquireTokenFromNativePlatform: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • unableToLoadTokenError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • unableToParseStateError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • unableToParseTokenRequestCacheError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • uninitializedPublicClientApplication: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string
  • userCancelledError: {
        code: string;
        desc: string;
    }
    • code: string
    • desc: string

Deprecated

Use exported BrowserAuthErrorCodes instead. In your app you can do :

import { BrowserAuthErrorCodes } from "@azure/msal-browser";

Generated using TypeDoc