Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anubis Web Sessions

anubis adds database-backed web sessions, CSRF protection, and cookie-based authentication to Maat applications.

Anubis.provider('users', (id) => User.query().find(int.parse(id)));

Route.post('/login', login).middleware(['anubis.session', 'anubis.csrf']);
Route.get('/dashboard', dashboard)
    .middleware(['anubis.session', 'anubis.csrf', 'auth:web']);

See the Anubis guide for installation and usage.

About

Database web sessions, CSRF protection, and web authentication for Maat applications.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages