Options
All
  • Public
  • Public/Protected
  • All
Menu

Error thrown when there is an error in the client code running on the browser.

Hierarchy

Index

Constructors

constructor

  • new ClientAuthError(errorCode: string, errorMessage?: string): ClientAuthError

Properties

errorCode

errorCode: string

errorMessage

errorMessage: string

message

message: string

name

name: string

Optional stack

stack: string

Methods

Static createAcquireTokenInProgressError

Static createClientInfoDecodingError

  • Parameters

    • caughtError: string

    Returns ClientAuthError

Static createClientInfoNotPopulatedError

  • Parameters

    • caughtError: string

    Returns ClientAuthError

Static createEndpointResolutionError

  • Parameters

    • Optional errDetail: string

    Returns ClientAuthError

Static createErrorInCallbackFunction

  • Parameters

    • errorDesc: string

    Returns ClientAuthError

Static createIdTokenNullOrEmptyError

  • createIdTokenNullOrEmptyError(invalidRawTokenString: string): ClientAuthError
  • Parameters

    • invalidRawTokenString: string

    Returns ClientAuthError

Static createIdTokenParsingError

  • Parameters

    • caughtParsingError: string

    Returns ClientAuthError

Static createInvalidIdTokenError

  • Parameters

    • idToken: IdToken

    Returns ClientAuthError

Static createInvalidInteractionTypeError

Static createInvalidStateError

  • createInvalidStateError(invalidState: string, actualState: string): ClientAuthError
  • Parameters

    • invalidState: string
    • actualState: string

    Returns ClientAuthError

Static createLoginInProgressError

Static createMultipleAuthoritiesInCacheError

  • Parameters

    • scope: string

    Returns ClientAuthError

Static createMultipleMatchingTokensInCacheError

  • Parameters

    • scope: string

    Returns ClientAuthError

Static createNonceMismatchError

  • createNonceMismatchError(invalidNonce: string, actualNonce: string): ClientAuthError
  • Parameters

    • invalidNonce: string
    • actualNonce: string

    Returns ClientAuthError

Static createPopupWindowError

  • Parameters

    • Optional errDetail: string

    Returns ClientAuthError

Static createTokenEncodingError

  • createTokenEncodingError(incorrectlyEncodedToken: string): ClientAuthError
  • Parameters

    • incorrectlyEncodedToken: string

    Returns ClientAuthError

Static createTokenRenewalTimeoutError

Static createUnexpectedError

  • createUnexpectedError(errDesc: string): AuthError

Static createUserCancelledError

Static createUserDoesNotExistError

Static createUserLoginRequiredError

Generated using TypeDoc