📄️ Introduction
Auth is a very important part of any web application, Warlock embraces API that provides a simple and easy to use API to manage users and authentication.
📄️ Auth Middleware
Auth middleware is used to verify the user identity, it's used to protect routes from unauthorized access.
📄️ Auth configurations
Auth configurations are basically related to current user either it is a logged in user or a guest user, warlock embraces the concept of guest users, so it is important to define the guest user configurations.
📄️ Auth Model
Auth model is an abstract class that is used for generating and validating access tokens.
📄️ Guests
Guests are users that are not logged in, but has a JWT.
📄️ JWT
JWT stands for JSON Web Token, it's a standard for creating access tokens that can be used for authentication.