Skip to content

alexander3um/hapi-session-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

hapi-session-auth

Authentication plugin for hapi framework based on sessions. Depends on hapi-sessions.

API

  • await request.sAuth.authenticate(credentials)
  • await request.sAuth.deauthenticate(credentials)

Credentials is an optional argument. Must be an object.

The plugin has been made by a total rookie for personal purposes. Any critics are welcome.

About

Way too simple cookie sessions based auth scheme for Hapi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published