GoogleConsumer Scopes

20 views
Skip to first unread message

weblivz

unread,
Jun 29, 2012, 11:31:25 AM6/29/12
to dotnet...@googlegroups.com
Is there any way to pass in/request scopes to the google consumer that aren't hard coded in the applications list?

There are a few that have been added recently that i want to access. If not this is definitely something to add moving forward so you can pass in a custom set of scopes (rather than writing the consumer again).

/steven

Andrew Arnott

unread,
Jun 29, 2012, 12:53:31 PM6/29/12
to dotnet...@googlegroups.com
Yes.  You just need to do the equivalent of what the static GoogleConsumer.RequestAuthorization method does yourself, which is hardly anything anyway besides syntax sugar.

But if there are more than are found in that class, please do fork the project, add the missing code, and send a pull request.

--
Andrew Arnott
"I [may] not agree with what you have to say, but I'll defend to the death your right to say it." - S. G. Tallentyre


--
You received this message because you are subscribed to the Google Groups "DotNetOpenAuth" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dotnetopenid/-/BvSQtwv_9uEJ.
To post to this group, send email to dotnet...@googlegroups.com.
To unsubscribe from this group, send email to dotnetopenid...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dotnetopenid?hl=en.

Reply all
Reply to author
Forward
0 new messages