Biometric Authentication for iOS in Swift

Biometric Authentication for iOS in Swift

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 0h 43m | 154 MB

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.

Topics include:

  • 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
Table of Contents

1 How to use biometric authentication in iOS using Swift
2 What you should know
3 Overview of biometrics
4 App security
5 Apple guidelines
6 Xcode project preparation
7 LocalAuthentication context
8 Evaluation policy check
9 Evaluating a policy
10 Notifying the user for Face ID
11 LocalAuthentication policies
12 Device owner authentication
13 Authentication with biometrics
14 Biometric types
15 Reuse duration
16 Authentication fails
17 Handling cancels
18 Handling fallback
19 Next steps