Authorization header

The request header that carries a client’s credentials, such as Authorization: Bearer <token> or Authorization: Basic <encoded>.

In more detail

The first word names the scheme. Credentials belong here rather than in the address, and this header must be kept out of logs and forwarded carefully by proxies.

Examples

Authorization: Basic c3ZjLXJlcG9ydDpub3QtYS1yZWFsLXBhc3N3b3Jk
Authorization: Bearer <token>

Related terms

Taught in

References