Authorization
Verification of permissions: what a user or program is allowed to do after authentication.
Authentication vs authorization
| Authentication | Authorization | |
|---|---|---|
| Question | Who are you? | What can you do? |
| Example | Password login | Read permissions |
In API
A token can grant different permissions: one user may only read, another may read and write. Therefore, an API token is issued to a user with the appropriate permissions.