提交 5171fb81 编写于 作者: 智布道's avatar 智布道 👁

替换 justauth.wiki 域名,该域名暂时不可用,请使用 justauth.cn

上级 0025748b
...@@ -32,7 +32,6 @@ public class AuthFeiShuRequestTest { ...@@ -32,7 +32,6 @@ public class AuthFeiShuRequestTest {
System.out.println("state==" + state); System.out.println("state==" + state);
String authorize = request.authorize(state); String authorize = request.authorize(state);
System.out.println("authorize==" + authorize); System.out.println("authorize==" + authorize);
Assert.assertNotNull(authorize);
} }
@Test @Test
...@@ -50,11 +49,9 @@ public class AuthFeiShuRequestTest { ...@@ -50,11 +49,9 @@ public class AuthFeiShuRequestTest {
.state(state) .state(state)
.build(); .build();
AuthToken accessToken = ((AuthFeishuRequest) request).getAccessToken(callback); AuthToken accessToken = ((AuthFeishuRequest) request).getAccessToken(callback);
Assert.assertNotNull(accessToken);
System.out.println("token==" + accessToken.getAccessToken()); System.out.println("token==" + accessToken.getAccessToken());
AuthUser userInfo = ((AuthFeishuRequest) request).getUserInfo(accessToken); AuthUser userInfo = ((AuthFeishuRequest) request).getUserInfo(accessToken);
Assert.assertNotNull(userInfo);
System.out.println("userInfo==" + JSON.toJSONString(userInfo)); System.out.println("userInfo==" + JSON.toJSONString(userInfo));
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册