public protocol FUIPasscodeControllerDelegate : AnyObject
This protocol defines the functions needed for
to notify the app about passcode and TouchID events.
User has entered a passcode and the implementation should try the passcode user entered by either open the secure store or compared with saved passcode. If passcode has not been setup previously, the implementation should accept this passcode and store it as the effective passcode. If passcode was already setup, the implementation should try to match the passcode with saved passcode.
Developer could use
passcodeController.passcodeSourceto obtain whether the passcode is from user input or generated by
SAPFioriand accessed by Touch ID, Face ID, or device passcode.
FUIPasscodeControllerErrorwhen try passcode failed.
The passcode user entered.
The purpose of the passcode entered
User has chosen to enable or not using the biometric ID to login from Touch ID or Face ID enablemanet screen, after the passcode policy changed from not allow to allow biometric ID.
Default implementation - do nothing.
func didSetBiometricIDOption(to enabled: Bool, fromController passcodeController: FUIPasscodeController)
True if user wants to enable using biometric ID to login.