나는 이미이 게시물을 참조했습니다. Google Authentication Process. 정확히 내 문제와 유사하지는 않지만 사용하고있는 코드는 비슷합니다.NativeApplicationClient.ClientIdentifier가 해결되지 않았습니다.
using System;
using DotNetOpenAuth.OAuth2;
using Google.Apis.Authentication.OAuth2;
using Google.Apis.Authentication.OAuth2.DotNetOpenAuth;
using Google.Apis.Samples.Helper;
private void Window_Initialized(object sender, EventArgs e)
{
var provider = new NativeApplicationClient(GoogleAuthenticationServer.Description);
provider.ClientIdentifier = "<My Client Id here>";
provider.ClientSecret = "<My Client Secret here";
...
...
}
내 문제가 provider.ClientIdentifier
도 provider.Secret
가 해결지고도 아니다. DotNetOpenAuth 버전 4.0.0.11165 및 Google API 버전 v201306을 참조합니다.
내 목표는 다른 계정에서 Google 분석 데이터를 가져 오는 것이지만 그 전에 사용자를 인증해야하고 Google에서 Access_Token!을 제공하여 오프라인 액세스를 허용 할 수 있습니다!
내가 뭘 잘못하고 있는지 알려 주시기 바랍니다.
감사합니다, 당신이 구축하는 응용 프로그램의 어떤 종류의