Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

想请问一下微软账户的授权是怎么刷新的? #666

Answered by myl7
BrandonStudio asked this question in Q&A
Discussion options

You must be logged in to vote

Client ID 和 Client Secret

这个需要对应 client 的创建者手动改代码进行刷新

证书替代 Client Secret

这个没了解过不太清除,client id + secret 应该是比较普遍的用法(例如 rclone 等也是这样的)

AccessToken 和 RefreshToken

这两个令牌是何时如何刷新的?

access token 通过携带 refresh token 访问特定 API 进行刷新,在此过程中如果 refresh token 也需要刷新将会在 access token 刷新的 response 内带上刷新好的 refresh token,此部分 OneDrive 文档有具体介绍

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@githubhjs
Comment options

Comment options

You must be logged in to vote
2 replies
@BrandonStudio
Comment options

@myl7
Comment options

myl7 Jul 20, 2022
Collaborator

Answer selected by myl7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants