Add AppLockSetupPINScreen. (#1930)

This commit is contained in:
Doug
2023-10-23 10:07:13 +01:00
committed by GitHub
parent ceee6b1853
commit 5356a56a00
27 changed files with 811 additions and 7 deletions
@@ -36,6 +36,8 @@ protocol AppLockServiceProtocol: AnyObject {
/// Sets the user's PIN code used to unlock the app.
func setupPINCode(_ pinCode: String) -> Result<Void, AppLockServiceError>
/// Validates the supplied PIN code is long enough, only contains digits and isn't a weak choice.
func validate(_ pinCode: String) -> Result<Void, AppLockServiceError>
/// Disables the App Lock feature, removing the user's stored PIN code.
func disable()