Changing the User PIN Flow for Android
casan142saas
As stated in Activation Flow for Android, a user sets up a user PIN while activating CA Strong Authentication for the first account on the mobile. This user PIN is used for all accounts for which the user activates CA Strong Authentication.
A user can change the user PIN at any time.
This section covers the following topics:
For information about the APIs mentioned in these topics, see API Reference for Android.
Steps in the Changing the User PIN Flow
The following steps take place when the user changes the PIN:
- The user taps the menu in the upper-right corner of the page.
- In the menu, the user taps Change PIN.
- The app displays the prompt for changing the PIN.
- After the old PIN is verified, the new PIN is set.
Changing the User PIN Flow Diagram
The following flow diagram shows the sequence of API calls that take place when the user uses the Changing the User PIN flow.
Changing the User PIN Flow

Sample Code for the Changing the User PIN Flow
The following is sample code for the Changing the User PIN flow:
// App prompts the user to submit old and new PINs// App submits the old and new PINs to the SDKAuthenticationHandler handler = new AuthenticationHandler(this);verifyPinResponse = handler.verifyPin(oldPin);if("SUCCESS".equals(verifyPinResponse.getStatus()))boolean status = M3DSHandlerObject.changePin(oldPin, newPin);// App displays a success or failure message based on the value of status.