Vapor 2 Authentication
Vapor offers a great toolset for user authentication and access restriction. It provides all the standard authentication procedures that are widely used.
This article will show how to register and authenticate with Basic Auth (Username and Password) via a web…