1
0
mirror of synced 2026-05-22 21:53:18 +00:00

🍻 AuthUser 中新增 rawUserInfo,用来存放第三方平台返回的原始用户数据

This commit is contained in:
yadong.zhang
2020-06-07 18:46:00 +08:00
parent 8e5a679129
commit 33385fd30a
49 changed files with 295 additions and 98 deletions
@@ -51,6 +51,7 @@ public class AuthGithubRequest extends AuthDefaultRequest {
this.checkResponse(object.containsKey("error"), object.getString("error_description"));
return AuthUser.builder()
.rawUserInfo(object)
.uuid(object.getString("id"))
.username(object.getString("login"))
.avatar(object.getString("avatar_url"))