BlackBerry Dynamics for .NET Maui  12.0.0.9
Runtime library for .NET Maui applications
BBDXamarinForms.Common.Interfaces.BBDUtility.Events.BBDAuthTokenFailureEventArgs Class Reference

Occurs when a request for a BlackBerry Dynamics authentication token has failed. Information about the error condition is passed in a parameter. More...

Inherits EventArgs.

Properties

int ErrorCode [get]
 Int code for the error condition that led to the failure of the token request.

  1. An error occurred during token generation or communication. Sending the same request later mightn't encounter the same condition, and could succeed.
  2. The version of BlackBerry Dynamics server software installed at the enterprise doesn't support the authentication token mechanism.
More...
 
string ErrorMessage [get]
 String containing an error message that describes the error condition that led to the failure of the token request. More...
 

Detailed Description

Occurs when a request for a BlackBerry Dynamics authentication token has failed. Information about the error condition is passed in a parameter.

The request will have been made by calling the IBBDUtility.GetBBDAuthToken(string, string) function.

Invocation of this callback notifies the application that a token wasn't issued in response to the request.

Depending on the reason for failure, the function that is invoked could:

  • Retry, by requesting a token again.
  • Notify the user that this authentication mechanism isn't available.

Property Documentation

◆ ErrorCode

int BBDXamarinForms.Common.Interfaces.BBDUtility.Events.BBDAuthTokenFailureEventArgs.ErrorCode
get

Int code for the error condition that led to the failure of the token request.

  1. An error occurred during token generation or communication. Sending the same request later mightn't encounter the same condition, and could succeed.
  2. The version of BlackBerry Dynamics server software installed at the enterprise doesn't support the authentication token mechanism.

The error code

◆ ErrorMessage

string BBDXamarinForms.Common.Interfaces.BBDUtility.Events.BBDAuthTokenFailureEventArgs.ErrorMessage
get

String containing an error message that describes the error condition that led to the failure of the token request.

>

The error message.