Authorization: Basic AXVubzpwQDU1dzByYM==
Base64 encoding does not mean encryption or hashing!
Bearer Authentication gives access to the bearer of this token.Authorization: Bearer
GET /endpoint?api_key=abcdefgh123456789
encrypted form by applying a hash algorithm to the username and the password, the password is converted to response and then it is sent to the server.Authorization: Digest username=”admin” Realm=”abcxyz” nonce=”474754847743646”, uri=”/uri” response=”7cffhfr54685gnnfgerg8”
called a nonce i.e. number used only once, another string representing the realm a hash for authentication from the client.a hashClient hash matches the server hash, the server will respond with the requested information. Otherwise, it will pass an error message.Authorization: Bearer hY_9.B5f-4.1BfE //where “hY_9.B5f-4.1BfE” is your OAuth Access Token
access token from the service provider, passing the access grant from the user and authentication details to identify the client.access token.access token to request the user data via the service provider.Authorization: Hawk id=”abcxyz123”, ts=”1592459563”, nonce=”gWqbkw”, mac=”vxBCccCutXGV30gwEDKu1NDXSeqwfq7Z0sg/HP1HjOU=”
The Hawk Authentication parameters are as follows:
sha266,sha1 used to create the message authentication codeMAC.Hash Message Authentication Code for authentication.Authorization: AWS4-HMAC-SHA256 Credential=abc/20200618/us-east-1/execute-api/aws4_request, SignedHeaders=host;x-amz-date, Signature=c6c85d0eb7b56076609570f4dbdf730d0a017208d964c615253924149ce65de5
subject: identifies the principal that is the subject of the JWT. Must be uniqueexpiration time: identifies the expiration time after which you must no longer accept this token.email, address or phone_numberRBAC:Role-based access control RBAC restricts network access based on a person’s role within an organization and has become one of the main methods for advanced access control. The roles in RBAC refer to the levels of access that employees have to the network.
User Roles: are permission sets that control access to areas and features within the Professional Archive Platform. Each User account requires a Role assignment.
JWT Token: JSON Web Token JWT is an open standard that defines a compact and self-contained way for securely transmitting information between parties as a JSON object.
References:
@By Ankit Singh/Authorization header
@By stackoverflow/What to store in a JWT?
@By ANGULAR UNIVERSITY/JWT: The Complete Guide to JSON Web Tokens