Paket: node-auth-header (1.0.0~1.1.0+~cs15.1.20180823-2)
Länkar för node-auth-header
Debianresurser:
Hämta källkodspaketet jsbundle-web-interfaces:
- [jsbundle-web-interfaces_1.1.0+~cs15.1.20180823-2.dsc]
- [jsbundle-web-interfaces_1.1.0+~cs15.1.20180823.orig-Xauth.tar.gz]
- [jsbundle-web-interfaces_1.1.0+~cs15.1.20180823.orig-Xhttp.tar.gz]
- [jsbundle-web-interfaces_1.1.0+~cs15.1.20180823.orig-Xwebidl-types.tar.gz]
- [jsbundle-web-interfaces_1.1.0+~cs15.1.20180823.orig-Xwebidl.tar.gz]
- [jsbundle-web-interfaces_1.1.0+~cs15.1.20180823.orig.tar.gz]
- [jsbundle-web-interfaces_1.1.0+~cs15.1.20180823-2.debian.tar.xz]
Ansvariga:
Liknande paket:
parse HTTP auth/authz headers - Node.js library
auth-header deals with obscene HTTP "Authorization" and "WWW-Authenticate" headers.
The HTTP "Authorization" and "WWW-Authenticate" family of headers are both pretty nightmareish; there has been, up until recently, no wide consensus about how they should be formatted and so parsing them is lots of fun if fun is pulling your hair out.
This library provides an implementation of RFC7235 which allows for the parsing of many known existing authorization headers (like Basic and Digest) as well as any future ones which follow the standard. Noteably, this library is less strict than it could be to parse some of these legacy formats.
In addition to the format of the header itself being in flux, WWW-Authenticate has its own nasty surprise: sometimes multiple authentication prompts can appear in one header, sometimes they can appear in multiple headers; we _ONLY_ support the latter case since trying to disambiguate between a second prompt and parameters for the first is just about impossible.
This package provides auth-header usable with Node.js - an event-based server-side JavaScript engine.
Hämta node-auth-header
Arkitektur | Paketstorlek | Installerad storlek | Filer |
---|---|---|---|
all | 19,5 kbyte | 73,0 kbyte | [filförteckning] |