Microsoft Graph - Java; AuthorizationCodeProvider :如何获取 "authorizationCode"

Microsoft Graph - Java; AuthorizationCodeProvider : how to get the "authorizationCode"

我正在通过我创建的应用程序使用 msgraph-sdk-java-auth。 我正在尝试使用对象 AuthorizationCodeProvider 从 Microsoft Azure 获取数据,但我无法理解如何获取 AUTHORIZATION_CODE 参数。

有人知道如何使用这个class?

谢谢!

据我所知,AUTHORIZATION_CODE 是从初始授权调用收到的授权码。您可以在 Steps to get authorizationCode from the sample.

中找到 authorization_code