Basic and Digest HTTP Authentication

From NovaOrdis Knowledge Base
Revision as of 01:06, 11 March 2020 by Ovidiu (talk | contribs) (→‎Authorization Request Header)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Overview

Authorization Request Header

Authorization Request Header

Basic Authentication

The content of the "Authorization" header should be:

Authorization: Basic <base64_of_username:password>

For example, if the username is "testuser" and password is "testpassword", then the string "testuser:testpassword" is base64-encoded and assigned to the Authorization header as follows:

Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3N3b3Jk