Categories

Nov 24, 2019 in Angular
Q: Explain Authentication and Authorization.

1 Answer

Nov 24, 2019

Authentication: The user login credentials are passed to an authenticate API (on the server). On the server side validation of the credentials happens and a JSON Web Token (JWT) is returned. JWT is a JSON object that has some information or attributes about the current user.  Once the JWT is given to the client, the client or the user will be identified with that JWT.

Authorization: After logging in successfully, the authenticated or genuine user does not have access to everything. The user is not authorized to access someone else’s data,  he/she is authorized to access some data.  

Click here to read more about Angular JS
Click here to read more about Insurance

Related questions

Madanswer
Jan 6 in Angular
Jan 6 in Angular
Jan 6 in Angular
...