深入理解OAuth 2.0(是一种授权机制,主要用来颁发令牌)

理解OAuth 2.0

https://www.ruanyifeng.com/blog/2014/05/oauth_2_0.html

https://www.jianshu.com/p/cf34a5a80d61

 

通俗易懂的理解

1、OAuth 2.0 的一个简单解释:OAuth 2.0 是一种授权机制,主要用来颁发令牌(token)

https://www.ruanyifeng.com/blog/2019/04/oauth_design.html

 

2、OAuth 2.0 的四种方式:颁发令牌的实务操作

https://www.ruanyifeng.com/blog/2019/04/oauth-grant-types.html

 

3.示例:GitHub OAuth 第三方登录示例教程

https://www.ruanyifeng.com/blog/2019/04/github-oauth.html

 

4.微信官方文档示例(有助于理解OAuth2.0授权登录)

-->移动应用微信登录开发指南

https://developers.weixin.qq.com/doc/oplatform/Mobile_App/WeChat_Login/Development_Guide.html

-->web应用微信登录开发指南

https://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_Login/Wechat_Login.html

 

感谢原作者的无私分享!

posted @ 2022-09-21 09:37  great wang  阅读(55)  评论(0编辑  收藏  举报