Click or drag to resize
IGDAuthTokenResultCallbackOnGDAuthTokenFailure Method

This callback will be invoked when a request for a BlackBerry Dynamics Auth token has failed. Information about the error condition is passed in a parameter.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
void OnGDAuthTokenFailure(
	GDAuthErrorCode errCode,
	string str
)

Parameters

errCode
Type: GDGDAuthErrorCode
Error code value.
str
Type: SystemString
Error description.
Remarks

Requests for tokens are made by calling the GetGDAuthToken function. Invocation of this callback notifies the application that a BlackBerry Dynamics Auth token was not issued in response to a request.

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

  • Retry the request, by initiating a new BlackBerry Dynamics Auth token request.
  • Notify the user that BlackBerry Dynamics Auth is not available as an authentication mechanism.

See Also