Ios onedrive中的身份验证失败
我收到登录到OneDrive的身份验证失败消息。这是我的密码:Ios onedrive中的身份验证失败,ios,xamarin.ios,onedrive,monotouch.dialog,Ios,Xamarin.ios,Onedrive,Monotouch.dialog,我收到登录到OneDrive的身份验证失败消息。这是我的密码: public async static void Login() { try { var scopes = new[] { "onedrive.readwrite", "onedrive.appfolder", "wl.signin" }; _client = Microsoft.OneDrive.Sdk.OneDr
public async static void Login()
{
try
{
var scopes = new[] {
"onedrive.readwrite",
"onedrive.appfolder",
"wl.signin"
};
_client = Microsoft.OneDrive.Sdk.OneDriveClient.GetMicrosoftAccountClient("d5f4ce5f-116a-4b77-a5a7-bd81802cdc7e","urn:ietf:wg:oauth:2.0:oob", scopes, null, null, null);
OnedriveClient._client = _client;
var session = await _client.AuthenticateAsync();
// AppSettings.SkyDriveLogin = true;
var AccessToken = _client.AuthenticationProvider.CurrentAccountSession.AccessToken;
//REST API to request info about the signed-in user
var uri = new Uri($"https://apis.live.net/v5.0/me?access_token={AccessToken}");
这是我的错误: