IBiometricManager
public protocol IBiometricManager
Protocol specifies methods which have to be implemented by class that performs biometric authentication.
-
Checks if the device supports biometric authentication
Declaration
Swift
func isBiometricSupported() -> Bool
Return Value
Boolean result, true if the biometric authentication supported, false othervise.
-
Performs biometric authentication.
Declaration
Swift
func authenticate(_ callback: @escaping (Bool) -> Void)
Parameters
callback
takes boolean value, that indicates the result of biometric authentication.