Update oauth2.md
This commit is contained in:
parent
b2549b5d78
commit
6036882f26
|
@ -1,11 +1,11 @@
|
|||
为了构建更好的码云生态环境,我们推出了基于OAuth2的API版本。
|
||||
API 接口使用方式以及Url都参照GitHub,为了各位开发者更好的兼容已经存在的第三方应用。
|
||||
API 使用条款
|
||||
# API 使用条款
|
||||
未经用户允许,不准爬取或存储用户的资源。
|
||||
禁止滥用 API,请求频率过快将导致请求终止。
|
||||
OAuth2 认证基本流程
|
||||
|
||||
OAuth2 获取 AccessToken 认证步骤
|
||||
# OAuth2 获取 AccessToken 认证步骤
|
||||
1. 授权码模式
|
||||
应用通过 浏览器 或 Webview 将用户引导到码云三方认证页面上( GET请求 )
|
||||
https://www.osredm.com/oauth/authorize?client_id={client_id}&redirect_uri={redirect_uri}&response_type=code
|
||||
|
|
Loading…
Reference in New Issue