1
0
mirror of synced 2026-02-26 07:07:52 +08:00

👽 更新文档

This commit is contained in:
yadong.zhang
2019-02-18 13:42:37 +08:00
parent c82c94ea40
commit 70d49cd661
2 changed files with 8 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ AuthRequest authRequest = new AuthGiteeRequest(AuthConfig.builder()
authRequest.authorize(response);
// 返回授权页面,可自行调整
authRequest.authorize();
// 授权登陆后会返回一个code用这个code进行登录
authRequest.login("code");
```
#### API列表

View File

@@ -29,6 +29,8 @@ public class AuthRequestTest {
authRequest.authorize(response);
// 返回授权页面,可自行调整
authRequest.authorize();
// 授权登陆后会返回一个code用这个code进行登录
authRequest.login("code");
}
@Test
@@ -42,6 +44,8 @@ public class AuthRequestTest {
authRequest.authorize(response);
// 返回授权页面,可自行调整
authRequest.authorize();
// 授权登陆后会返回一个code用这个code进行登录
authRequest.login("code");
}
@Test
@@ -55,5 +59,7 @@ public class AuthRequestTest {
authRequest.authorize(response);
// 返回授权页面,可自行调整
authRequest.authorize();
// 授权登陆后会返回一个code用这个code进行登录
authRequest.login("code");
}
}