View on GitHub

reading-notes

Review, Research, and Discussion

How do bearer tokens work?

The Bearer Token is created for you by the Authentication server. When a user authenticates your application (client) the authentication server then goes and generates for you a Token.

Describe express middleware

Express middleware are functions that execute during the lifecycle of a request to the Express server. Each middleware has access to the HTTP request and response for each route (or path) it’s attached to.

What is a JWT?

JSON Web Token, is an open standard used to share security information between two parties — a client and a server. … JWTs are signed using a cryptographic algorithm to ensure that the claims cannot be altered after the token is issued.

role based access control

Role-based access control (RBAC) is a policy-neutral access-control mechanism defined around roles and privileges. The components of RBAC such as role-permissions, user-role and role-role relationships make it simple to perform user assignments.

http cookies

HTTP cookies, or internet cookies, are built specifically for Internet web browsers to track, personalize, and save information about each user’s session. A “session” just refers to the time you spend on a site. Cookies are created to identify you when you visit a new website.