Consuming Laravel validation errors in a Swift network client
Handle Laravel validation errors in your Swift APIClient with a dual response decoder, one for errors, one for success. Display errors on your forms easily!
Handle Laravel validation errors in your Swift APIClient with a dual response decoder, one for errors, one for success. Display errors on your forms easily!
There comes a time when you need to chose what technology you want to work with when building a cross-platform mobile app. Let me show you what I did!
Server-side Swift, functional Swift, type systems, and so much more, covered by fantastic, enthusiastic speakers at Swift Summit.
Securely login to your iOS app with Laravel Sanctum as the backend. Save your API token in the user's Keychain for secure storage and access later.
Automatically invalidate a user session in Swift when authentication fails. Listen for a HTTP 401 to clear out the logged in user's state.