- Course
Authentication and Secure Storage in iOS
Storing a token in UserDefaults can cost you your users' trust. This course will teach you to authenticate users and protect sensitive data the right way in modern iOS apps.
- Course
Authentication and Secure Storage in iOS
Storing a token in UserDefaults can cost you your users' trust. This course will teach you to authenticate users and protect sensitive data the right way in modern iOS apps.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Apps that store tokens in UserDefaults, log secrets, or assume a biometric prompt proves server identity put user data at risk the moment a device is lost or inspected. In this course, Authentication and Secure Storage in iOS, you'll gain the ability to design and implement secure, permission-respecting authentication and storage experiences. First, you'll explore how to choose the right authentication strategy for a given need and implement sign in with Apple and passkey-aware sign-in flows. Next, you'll discover how to protect credentials with keychain services, gate sensitive actions with biometric and device authentication, and manage tokens and authenticated sessions securely. Finally, you'll learn how to apply CryptoKit appropriately, reduce common authentication and storage risks, and validate authentication and secure storage behavior across real-world scenarios. When you're finished with this course, you'll have the skills and knowledge of iOS authentication and secure storage needed to build apps that protect user data by default.