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

add: oauth 添加 ctx, 且增加 GetUserInfoByCodeCtx 方法快速获取用户信息 #747

Merged
merged 3 commits into from
Nov 2, 2023

Conversation

seth-shi
Copy link
Contributor

@seth-shi seth-shi commented Nov 1, 2023

  • ctx 用于单次请求的超时设置之类的,
  • GetUserInfoByCodeCtx方法便于理解通过网页授权的code 换取access_token(区别于context中的access_token)这句话的意思

@houseme houseme assigned houseme and seth-shi and unassigned houseme and seth-shi Nov 1, 2023
@houseme houseme requested a review from silenceper November 1, 2023 13:17
@silenceper silenceper merged commit d4fd145 into silenceper:v2 Nov 2, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants