Edit

Share via


InteractionRequiredAuthError class

Error thrown when the user is required to perform an interactive token request.

Extends

Constructors

InteractionRequiredAuthError(string, string)

Inherited Properties

errorCode
errorMessage
message
name
stack

Methods

createConsentRequiredAuthError(string)
createInteractionRequiredAuthError(string)
createLoginRequiredAuthError(string)
isInteractionRequiredError(string)

Inherited Methods

createNoWindowObjectError(string)
createServerUnavailableError()
createUnexpectedError(string)
createUnknownServerError(string)

Constructor Details

InteractionRequiredAuthError(string, string)

new InteractionRequiredAuthError(errorCode: string, errorMessage?: string)

Parameters

errorCode

string

errorMessage

string

Inherited Property Details

errorCode

errorCode: string

Property Value

string

Inherited From AuthError.errorCode

errorMessage

errorMessage: string

Property Value

string

Inherited From AuthError.errorMessage

message

message: string

Property Value

string

Inherited From Error.message

name

name: string

Property Value

string

Inherited From Error.name

stack

stack?: string

Property Value

string

Inherited From Error.stack

Method Details

createConsentRequiredAuthError(string)

static function createConsentRequiredAuthError(errorDesc: string): InteractionRequiredAuthError

Parameters

errorDesc

string

Returns

createInteractionRequiredAuthError(string)

static function createInteractionRequiredAuthError(errorDesc: string): InteractionRequiredAuthError

Parameters

errorDesc

string

Returns

createLoginRequiredAuthError(string)

static function createLoginRequiredAuthError(errorDesc: string): InteractionRequiredAuthError

Parameters

errorDesc

string

Returns

isInteractionRequiredError(string)

static function isInteractionRequiredError(errorString: string): boolean

Parameters

errorString

string

Returns

boolean

Inherited Method Details

createNoWindowObjectError(string)

static function createNoWindowObjectError(errDesc: string): AuthError

Parameters

errDesc

string

Returns

Inherited From AuthError.createNoWindowObjectError

createServerUnavailableError()

static function createServerUnavailableError(): ServerError

Returns

Inherited From ServerError.createServerUnavailableError

createUnexpectedError(string)

static function createUnexpectedError(errDesc: string): AuthError

Parameters

errDesc

string

Returns

Inherited From AuthError.createUnexpectedError

createUnknownServerError(string)

static function createUnknownServerError(errorDesc: string): ServerError

Parameters

errorDesc

string

Returns

Inherited From ServerError.createUnknownServerError