我在阅读 Django 文档时遇到了这两个术语,它们被用来表示看似不同的含义。有什么区别?
最佳答案
直接从 Django Documentation 出来:
The Django authentication system handles both authentication and authorization. Briefly, authentication verifies a user is who they claim to be, and authorization determines what an authenticated user is allowed to do. Here the term authentication is used to refer to both tasks.
关于python - Django 中的授权和身份验证有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37544543/