Skip to content

serhiybutz/Token-Auth-Client-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS app template with token-based authentication

MIT License Swift 5.6


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.

Features

  • 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.

How to run

  1. Clone the repository on the command line: git clone https://github.com/SerhiyButz/Token-Auth-Client-Template.git.
  2. Open the client app in Xcode (open TokenAuthClientTemplate.xcodeproj) and run it by hitting CMD+r.
  3. After starting the application, use "Server Settings" (in the upper right corner) to configure the server settings.

License

This project is licensed under the MIT license.