Skip to content

520yxl/Refresh_Token_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

使用方法

注意:PHP需要开启curl扩展

阿里云盘:

在代码中填入对应的开放平台应用的APP ID和APP Secret,drive_id可空

redirect_uri地址是:你的域名+文件名

例如:https://yourdomain.com/alipan-callback.php

image

使用refresh_token更新接口

json格式post请求

参数名 -
client_id 必填
client_secret 必填
drive_id 可选
refresh_token 必填

OneDrive:

在代码中填入对应的开放平台应用的客户端id和客户端密码

redirect_uri地址是:你的域名+文件名

例如:https://yourdomain.com/onedrive-callback.php

image

使用refresh_token更新接口

json格式post请求

参数名 -
client_id 必填
client_secret 必填
refresh_token 必填

About

阿里云盘/OneDrive刷新令牌获取接口

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages