Http - Authorization Header (authentication entries)

About

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

Syntax

Authorization: CredentialType <token>

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.

Basic

Authentication - Basic Authentication (HTTP)

Authorization: Basic dXNlcjpwYXNzd29yZA==

Digest

Bearer

bearer

Example:

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

sso_key

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

Documentation / Reference


Powered by ComboStrap