Biometric Authentication for iOS in Swift
44mIntermediate2019-08-23
Authors

Bear Cahill
Mobile Application Developer
Course details
User security is vital to app development and user experience. Biometric authentication—which turns a user's face or fingerprint into a key—is a useful and powerful method for securing user data within an app. In this course, Bear Cahill takes a deep dive into the topic of biometric authentication, reviewing how to support the Face ID and Touch ID authentication methods in your iOS apps with Swift. Bear demonstrates how to use the LocalAuthentication framework to request user authentication using Touch ID, Face ID, or a user's passcode. Along the way, he details the specifics of authentication policies, shows how to handle a variety of errors, and explains how to handle cases when a user doesn’t want to opt for biometric authentication at all.
Learning objectives
Protecting user data with biometric authentication
Evaluating policies
Using the LAContext class
Notifying users about Face ID authentication
LocalAuthentication policies
Biometric types
Dealing with errors
Handling fallback
Learning objectives
Protecting user data with biometric authentication
Evaluating policies
Using the LAContext class
Notifying users about Face ID authentication
LocalAuthentication policies
Biometric types
Dealing with errors
Handling fallback
Skills covered
SwiftIdentity and Access ManagementiOSAppleCybersecurityDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - How to use biometric authentication in iOS using Swift
- 02 - What you should know
1. Biometric Concepts
- 03 - Overview of biometrics
- 04 - App security
- 05 - Apple guidelines
2. iOS App Development
- 06 - Xcode project preparation
- 07 - LocalAuthentication context
- 08 - Evaluation policy check
- 09 - Evaluating a policy
- 10 - Notifying the user for Face ID
3. Policy Specifics
- 11 - LocalAuthentication policies
- 12 - Device owner authentication
- 13 - Authentication with biometrics
- 14 - Biometric types
- 15 - Reuse duration
4. Handling Outcomes
- 16 - Authentication fails
- 17 - Handling cancels
- 18 - Handling fallback
Conclusion
- 19 - Next steps