How to Install and Uninstall node-auth-header Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 05,2024

1. Install "node-auth-header" package

This guide covers the steps necessary to install node-auth-header on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-auth-header

2. Uninstall "node-auth-header" package

Please follow the step by step instructions below to uninstall node-auth-header on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove node-auth-header $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-auth-header package on Ubuntu 21.10 (Impish Indri)

Package: node-auth-header
Architecture: all
Version: 1.0.0~1.1.0+~2.0.1~ds+~6.1.0+~0~20180821-1
Multi-Arch: foreign
Priority: optional
Section: universe/javascript
Source: jsbundle-web-interfaces (1.1.0+~2.0.1~ds+~6.1.0+~0~20180821-1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 71
Depends: nodejs
Filename: pool/universe/j/jsbundle-web-interfaces/node-auth-header_1.0.0~1.1.0+~2.0.1~ds+~6.1.0+~0~20180821-1_all.deb
Size: 19136
MD5sum: f2127154f9d8dc13ad4a031bd4d975f7
SHA1: fe473c955b29f9d2510856f49d316541bfca9616
SHA256: bf03196655415a1d4c34dbea8e7d4182450b427e3b954082dc98c8782275c898
SHA512: 449fc98547e9da1f7455b7149e01f57294b88df7e9c177b6c36cc2078d8d072fc15bbe82f6328fea6470066eae41fbe67879ffc23aee811939f8dc9e0ef14456
Description-en: 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.
Description-md5: fe07e1d0f6e8dc1c931c99d0b2ae2d72