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

【Q107】什么是 Basic Auth 和 Digest Auth #108

Open
shfshanyue opened this issue Dec 7, 2019 · 1 comment
Open

【Q107】什么是 Basic Auth 和 Digest Auth #108

shfshanyue opened this issue Dec 7, 2019 · 1 comment

Comments

@shfshanyue
Copy link
Owner

No description provided.

@ansonlovecoding
Copy link

Basic Auth:使用Base64编码的用户名和密码,将其放置在HTTP请求头中进行身份验证;
Digest Auth:使用摘要(Digest)算法,将密码使用算法加密后放在HTTP请求头中进行身份验证;
这两种身份验证在实际应用中比较少,比较流行的还是Token-based Auth。
Token-based Auth:使用令牌(Token),客户端在登录成功后获取令牌,之后的请求中将令牌包含在请求头中进行身份验证。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants