Segment until and including Authentication Middleware

Notes

Authenticating Flask API Using JWT

  • Authenticaiton: Authentication is loosely how a database can associate/assign a user to their profile and give them certain permissions and roles based on the profile.

  • Single-factor Authentication: The most basic form of authentication, where user enters a username/phone number/email and a password. The program checks the information with the information in the database and grants the user permission if the information grants reflects that in the database.

  • Multi-factor Authentication: Grants user access using more than one gates. For example, if the username and password are correct, the site could send a verification code to the associated phone number for further verification.

Types of Authentication

  • Knowledge Authentication: