Add device biometric authentication

This topic enables the iOS mobile app to add device biometric authentication using the CyberArk Identity SDK.

The CyberArk Identity iOS SDK gives the mobile app the ability to deliver biometric identity services with advanced biometric data processing. The biometric identity service enables your iOS app to securely confirm identities using a seamless user sign-in flow.

Configuring the CyberArk Identity SDK provides an app with the ability to:

  • Invoke a strong biometric authentication dialog for users at app startup.
  • Handle strong biometric challenges for users, storing and retrieving the tokens as needed.

Invoke biometric utility instance

In order to register biometrics, use the following code sample:

BiometricsAuthenticator().authenticateUser{ (response) in{ (response) in
                switch response {
                case .success(let success):
                  //Handle success case here
                case .failure(let error):
                  //Handle error case here