Загрузка...

Authentication SwiftUI & Persisting Access and Refresh Tokens in Keychain

In this video, we’ll show you how to implement a secure login flow for your iOS app using the Platzi Store API. You’ll learn how to:

🚀 Send a login request using an async function 🔐 Receive and decode the accessToken and refreshToken
🔒 Securely store tokens in Keychain for persistent authentication
🧪 Use an AuthenticationController that cleanly separates login and registration logic

Whether you're building a full-scale e-commerce app or just learning best practices for authentication in Swift, this video will give you a practical and secure approach to user login.

📌 Topics Covered:

- Sending login and registration requests using HTTPClient
- Decoding API responses with LoginResponse and RegistrationResponse
- Persisting tokens using Keychain
- Structuring code with an AuthenticationController

📦 Tools Used:

- Swift 5.9+
- Async/Await
- Keychain
- Platzi Store API

Check out my courses, workshops:
https://azamsharp.school

#iosdevelopment #iosdev #swiftui #swiftuitutorial #iosdeveloper

Видео Authentication SwiftUI & Persisting Access and Refresh Tokens in Keychain канала azamsharp
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять