Turn a username and password into an HTTP Authorization: Basic header and its base64 token — encoded entirely in your browser.
Encoded in your browser only — nothing is sent anywhere.
Authorization: Basic YWRtaW46czNjcmV0
YWRtaW46czNjcmV0