Http - Authorization Header (authentication entries)

1 - About

authorization is a header that contains credentials to authenticate a user known also as Authentication entry.

3 - Syntax


Authorization: CredentialType <token>

4 - Type and Authentication entry

An authentication entry and a proxy-authentication entry are tuples of username, password, and realm, used respectively for HTTP authentication and HTTP proxy authentication, and associated with one or more requests.

4.1 - Basic

Authentication - Basic Authentication (HTTP)


Authorization: Basic dXNlcjpwYXNzd29yZA==

4.2 - Digest

4.3 - Bearer

bearer

Example:


Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6ImFQY3R3X29kdlJPb0VO
ZzNWb09sSWgydGlFcyIsImtpZCI6ImFQY3R3X29kdlJPb0VOZzNWb09sSWgydGlFcyJ9.eyJhdWQiO
iJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ld............

4.4 - sso_key


Authorization: sso_key key:value
Authorization: sso_key e902odRf8RFKz_Pmn2CTwRZjdcdUg3abAoCe:QotBm9tBasNdRU22PjGnju

5 - Documentation / Reference


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap