我应该如何使用 adal4j 实现注销?目前我在这个库中没有看到任何用于执行此操作的方法。这是我的例子。
AuthenticationContext context = new AuthenticationContext("https://login.windows.net/" + "test.onmicrosoft.com" + "/", true, service);
try {
final Future<AuthenticationResult> resultFuture = context.acquireTokenByAuthorizationCode(
code, new URI(redirectUri), new ClientCredential(clientId, clientSecret), "https://graph.windows.net/", null);
result = resultFuture.get();
} catch (InterruptedException | ExecutionException e) {
} catch (URISyntaxException e) {
}