Tangent: "When designing a security system, regardless of purpose or protocol, you need to think of authentication and authorization separately. Authentication securely verifies that the client is who it claims to be, but does not grant any permissions. After the successful authentication, authorization decides whether or not the client can perform a specific action."
These two operations are often abbreviated "authn" (for autheNtication) and "authz" (for authoriZation) in security frameworks.
These two operations are often abbreviated "authn" (for autheNtication) and "authz" (for authoriZation) in security frameworks.