In this course, you will learn how to work with various API authentication methods using Swift. You’ll explore the basics of API Key authentication, manage sessions using cookies, and interact with APIs using JSON Web Tokens (JWTs). By the end of this course, you’ll be able to access and interact with protected APIs securely.
Overview
Syllabus
- Unit 1: API Authentication with Swift: Accessing Protected Routes Using API Keys
- API Key Authentication Failure Exploration
- API Key Authentication in Swift
- Fixing API Key Authentication in Swift
- Load API Key from Environment File in Swift
- Secure API POST Request in Swift
- Unit 2: Session-Based Authentication with Swift: Managing User Sessions and Accessing Protected Resources
- Sign Up Using HTTP Requests in Swift
- Session-Based Authentication with URLSession in Swift
- Session-Based Authentication in Swift
- Improving Session Management with Logout in Swift
- Session-Based API Authentication in Swift
- Unit 3: Introduction to JWTs: Authenticate and Access Protected Endpoints with Swift
- Handling API Logins with JWT Tokens in Swift
- Extracting and Printing JWT Tokens in Swift
- Fixing Authentication Bug in Swift API Client
- JWT Authentication and API Interaction in Swift
- JWT Authentication and API Access in Swift
- Unit 4: Refreshing JWTs and Signing Out with Swift
- Refreshing JWT Tokens in Swift
- Fixing Logout Session Invalidation Issue
- Completing the Logout Process with JWT in Swift