Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authn和Authz,还有不清不楚的Auth #294

Open
yaofly2012 opened this issue Sep 2, 2024 · 0 comments
Open

Authn和Authz,还有不清不楚的Auth #294

yaofly2012 opened this issue Sep 2, 2024 · 0 comments
Labels

Comments

@yaofly2012
Copy link
Owner

背景

在开发过程中总是遇到Auth缩写的变量,在不同的上下文里表示不同的含义,有时表示认证有时表示授权。最近看技术文档时发现了一个新名词authn,于是就Google了下,发现之前对"Auth"变量的命名都不合理。

AuthN vs AuthZ

  1. AuthN是的Authentication缩写,即认证。
  2. AuthZAuthorization的缩写,即授权。
  3. 在身份和权限管理系统中(Identity and Access Management (IAM))两者是不同的阶段:
  • AuthN是IAM中的 I
  • AuthZ是IAM中的 AM

参考:

  1. Authn vs. authz: How are they different?
  2. AuthN vs AuthZ
  3. Authentication vs Authorization – What's the Difference?
@yaofly2012 yaofly2012 added the TODO label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant