Skip to content

valentineus/moodle-auth_token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authorization by token's

GitHub Release Build Status Codacy Badge Gitter Badge

Token-based authentication (also known as JSON Web Token authentication) is a new way of handling authentication of users in applications. It is an alternative to session-based authentication.

The most notable difference between the session-based and token-based authentication is that former relies heavily on the server. A record is created for each logged-in user.

Token-based authentication is stateless - it does not store anything on the server but creates a unique encoded token that gets checked every time a request is made.

Unlike session-based authentication, a token approach would not associate a user with login information but with a unique token that is used to carry client-host transactions. Many applications, including Facebook, Google, and GitHub, use the token-based approach.

Requirements

Documentation

License

GNU Banner

GNU GPLv3. Copyright (c) Valentin Popov.