Challenge Modes

🔁 ChallengeModes

ChallengeModes are enumerated constants used by the REL-ID SDK to indicate the context or purpose of a challenge during user authentication, activation, or credential update flows.


🎯 Challenge Mode Types

ChallengeModeValueTitle / UsageUsed In WorkflowsApplication Behavior
RDNA_CHALLENGE_OP_VERIFY0User login / Password verificationLoginCall setPassword() with mode 0 and user password.
RDNA_OP_UPDATE_CREDENTIALS1Set Password (during activation)ActivationCall setPassword() with mode 1 and password.
RDNA_OP_UPDATE_CREDENTIALS2Update PasswordCredential UpdateCall updatePassword() with mode 2, passing old and new passwords.
RDNA_OP_AUTHORIZE_NOTIFICATION3Password verification for Notification UpdateStep-up Auth during notification update flowUse setPassword() with mode 3 and password.
RDNA_OP_UPDATE_ON_EXPIRY4Password ExpiryPassword Expiry FlowUse updatePassword() with mode 4 and new/old passwords.
RDNA_OP_AUTHORIZE_LDA_MANAGEMENT5LDA Authorization ModeLDA ToggleUse setPassword() with mode 5 and password.
RDNA_OP_STEP_UP_AUTH_AND_SIGN_DATA12Authenticate and Sign DataStep-up Auth + SigningUse setPassword() with mode 12 and password before calling authenticateUserAndSignData()
RDNA_OP_STEP_UP_AUTH13Step-up AuthenticationStep-up AuthenticationReserved for future flows
RDNA_MANAGE_LDA_SET_PASS14LDA Toggling Set PasswordLDA ToggleUse setPassword() with mode 14
RDNA_MANAGE_LDA_RECONFIRM_VERIFY_PASS15Reconfirm Password for LDALDA Settings ReconfirmationUsed to reconfirm password when changing LDA settings. Call setPassword API with mode 15 and password
RDNA_MANAGE_LDA_SET_LDA16LDA toggling User ConsentLDA ToggleFor device LDA toggling flows. Call setUserConsentForLDA API

💡 Developer Notes

  • You will typically receive the challengeMode as part of event callbacks like getPassword, onUserEnrollmentResponse, etc.
  • Always pass the same mode back when calling relevant APIs like setPassword, updatePassword, or authenticateUserAndSignData.