Change PIN
Changing PIN
The OneWelcome Flutter plugin exposes a function (Onegini.instance.userClient.changePin
) to allow the currently logged in user to change their PIN. The user is first required to provide their current PIN, before being allowed to create the new PIN. Both events will be called on class which will extend OneginiEventListener
and was passed to the plugin with the Onegini.instance.startApplication()
method.
Example code to change PIN of currently logged in user:
In order to send a pin from a widget use OneginiPinAuthenticationCallback()
and OneginiPinRegistrationCallback()
.
Note that the PIN entered by the user should not be stored on the device or elsewhere in any shape or form. The plugin takes care of this for you in a secure manner.