An iOS app that uses token-based authentication. The server side is represented by the repository Token-Auth-Server-Template, which is a Vapor server.
- User sign-in form screen with username+password authentication with the server providing the authentication token.
- Biometric authentication included.
- User sign-up form screen.
- Sensitive information (such as an authentication token or user profile) is stored in Keychain.
- Validation of form fields, both local and remote.
- Form navigation keyboard toolbar.
- Home page screen with demo of some client-server-based functionality like retrieving user’s data and filtering it.
- Modular architecture + MVVM + dependency injection container.
- Clone the repository on the command line:
git clone https://github.com/SerhiyButz/Token-Auth-Client-Template.git
. - Open the client app in Xcode (
open TokenAuthClientTemplate.xcodeproj
) and run it by hittingCMD+r
. - After starting the application, use "Server Settings" (in the upper right corner) to configure the server settings.
This project is licensed under the MIT license.