0.0.5 • Published 7 years ago

http-header-authorization v0.0.5

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

http-header-authorization

A collection of functions for handling authorising requests using http headers.

Version 0.0.5

  • Added the path of the request to the request-authorized events for basic authorization.
  • Added the path of the request to the request-unauthorized events for basic authorization.
  • Added the path of the request to the request-authorized events for session authorization.
  • Added the path of the request to the request-unauthorized events for session authorization.

Version 0.0.4

  • Tidied up one of the tests to remove duplication.

Version 0.0.3

  • Added request-authorized event to session-authorization authenticate.
  • Added request-unauthorized event to session-authorization authenticate.

Version 0.0.2

  • Added session authorization that checks that req.user exists.
  • Moved authorization error out into it's own file including the handleAuthorizationError message.
  • The handleAuthorizationError response message can be overidden by setting the json property on the error object to the desired json.

Version 0.0.1

  • Added HTTP Basic Authorization.
0.0.5

7 years ago

0.0.4

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago