• BlackBerry Dynamics
  • Runtime library for Android applications
  • 12.0.1.79

Reauthentication Result Type. More...

Description

Use constants in this enumeration to get the Reauthentication result with the Broadcast Notification Intent. The AuthenticationManager.getReauthenticationResult method always returns one of these values.

Public Attributes

 Success =(ReauthNDKConstants.RESULT_SUCCESS)
 
 ErrorFailedAuth =(ReauthNDKConstants.RESULT_ERROR_FAILED_AUTH)
 
 ErrorUserCancelled =(ReauthNDKConstants.RESULT_ERROR_USER_CANCELED)
 
 ErrorExpired =(ReauthNDKConstants.RESULT_ERROR_EXPIRED)
 
 ErrorInProgress =(ReauthNDKConstants.RESULT_ERROR_IN_USE)
 
 ErrorNotSupported =(ReauthNDKConstants.RESULT_ERROR_NOT_SUPPORTED)
 
 ErrorInvalidRequest =(ReauthNDKConstants.RESULT_ERROR_INVALID_REQUEST)
 
 ErrorUnknown =(ReauthNDKConstants.RESULT_ERROR_UNKNOWN)
 

Member Data Documentation

◆ Success

Success =(ReauthNDKConstants.RESULT_SUCCESS)

Reauthentication has been successful.

◆ ErrorFailedAuth

ErrorFailedAuth =(ReauthNDKConstants.RESULT_ERROR_FAILED_AUTH)

Reauthentication failed due to incorrect credential.

◆ ErrorUserCancelled

ErrorUserCancelled =(ReauthNDKConstants.RESULT_ERROR_USER_CANCELED)

Reauthentication was cancelled by the user.

◆ ErrorExpired

ErrorExpired =(ReauthNDKConstants.RESULT_ERROR_EXPIRED)

Reauthentication request expired as the user didn't respond.

◆ ErrorInProgress

ErrorInProgress =(ReauthNDKConstants.RESULT_ERROR_IN_USE)

Reauthentication is already in use. The user needs to cancel or complete the previous request to proceed with a new one.

◆ ErrorNotSupported

ErrorNotSupported =(ReauthNDKConstants.RESULT_ERROR_NOT_SUPPORTED)

Reauthentication is not supported yet. In certain situations, when an application uses Authentication Delegation, the other BlackBerry Dynamics application used for authentication may be based on an older runtime version which doesn't support this feature. The application developer should consider such case and provide correct error handling mechanism for this Result type.

◆ ErrorInvalidRequest

ErrorInvalidRequest =(ReauthNDKConstants.RESULT_ERROR_INVALID_REQUEST)

Reauthentication request contains invalid parameters.

◆ ErrorUnknown

ErrorUnknown =(ReauthNDKConstants.RESULT_ERROR_UNKNOWN)

Reauthentication request failed for unknown reason.