MyOwnClone / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
1 stars 0 forks source link

Task Services - OAuth error #399

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.i have creating task service using google apis 
2. Google.Apis.Tasks.v1;
   Google.Apis.Tasks.v1.Data; i have using the above dll for that 

3.i got a below code from google links to create the task service but if i 
implement the code means am getting the following error

i) cannot convert from  Google.Apis.Services.BaseClientService.Initializer() to 
Google.Apis.Services.iauthenticator
ii)The best overload match for( 'google.apis.task.v1' is 
'Google.Apis.Services.iauthenticator')
like that so 

iii)where can i get Google.Apis.Services dll ,if there any links to download 
Google.Apis.Services dll means please provide that link 

Am using this code for task Service:

if (_service == null)
        {
            _authenticator = CreateAuthenticator();
            _service = new TasksService(new BaseClientService.Initializer()
            {
                Authenticator = _authenticator,
                ApplicationName = "Tasks API Sample",
            });

        }

Original issue reported on code.google.com by naveen.n...@learnderby.com on 10 Oct 2013 at 1:55

Attachments:

GoogleCodeExporter commented 9 years ago
Same problem here.
I could not compile the src. install all the requirements and vs says 
unsupported project ....

Original comment by nicanor....@gmail.com on 15 Oct 2013 at 11:52

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 23 Oct 2013 at 1:10

GoogleCodeExporter commented 9 years ago
IAuthentictor is not supported any more.
See our OAuth2 page for more details on how to use the different OAuth2 flows 
(https://code.google.com/p/google-api-dotnet-client/wiki/OAuth2).

I'm closing this issue, feel free to reopen if you feel like I missed something.

Original comment by pele...@google.com on 28 Nov 2013 at 5:52