gpt4 book ai didi

python - Django 中的授权和身份验证有什么区别?

转载 作者:行者123 更新时间:2023-11-28 21:46:43 25 4
gpt4 key购买 nike

我在阅读 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com