Your data never leaves your browser — the header is built client-side and nothing is stored.
Header
Token
curl
Username
Password
Basic auth is reversible encoding, not encryption.