Supporting Face ID and Touch ID Authentication in iOS Using Swift 5
In this course, you will walk through the process of building a SwiftUI app that supports Face ID and Touch ID authentication. You'll learn how to use the LocalAuthentication framework and how to handle errors and edge cases.
What you'll learn
Our smartphones store a lot of sensitive and personal information. As developers, we need to make sure that attackers can't access user data.
In this course, Supporting Face ID and Touch ID Authentication in iOS Using Swift 5, you'll learn about iOS security fundamentals and biometric authentication.
First, you'll get to explore the sophisticated hardware solutions that protect Apple devices against attackers. Next, you'll get insights about the inner workings of fingerprint and facial recognition. You'll also learn how Apple protects biometric data privacy.
Next, you'll get hands-on with developing a SwiftUI-based app that offers advanced security features and lets users authenticate using biometrics.
Then, you'll get to implement a secure storage class for user credentials using Keychain services, as well as add username/password-based authentication features. Finally, you'll see integrating biometric authentication features. Beyond adding support for Touch ID and Face ID, you'll also learn how to deal with errors and use fallback strategies. You'll see how to handle the biometry lockout problem, and allow the user to unlock biometry from within the app.
After finishing this course, you'll know how to build applications that protect sensitive user data efficiently and provide the latest biometric authentication features supported by modern iOS devices.
Table of contents
- What Are We Going to Build? 2m
- The Starter Project 2m
- Implementing the View Transition Logic 3m
- Creating a Keychain Wrapper 5m
- Storing User Credentials Securely 4m
- Retrieving Values from the Keychain 3m
- Adding the Sign-up Logic 6m
- Username/Password-based Authentication 5m
- Checking for Biometric Authentication Availablity 4m
- Enabling Biometric Authentication on the Login View 3m
- Integrating Fingerprint Authentication 4m
- Adding Support for Face ID 2m
- Handling Biometry Lockout 6m
- Handling Biometry Lockout - Final Touches 2m
- Putting it All Together 2m