-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No FileDataStore available in Google.Apis.Utils.Store package (Targeting UWP) #941
Comments
What framework are you targeting? Which nuget package did you use? |
using Google.Apis.Util.Store (nugget: Google.Apis version 1.22.0) and using Google.Apis.Auth.OAuth2 (nugget: Google.Apis.Oauth2.v2 version 1.22.0.672) |
That tells us the packages you're using, but not the framework you're targeting. |
I thought I listed both... by package you mean the nuget package I use right? |
Yes, but you haven't told us the framework you're targeting, e.g. .Net Core framework netstandard1.5, or desktop .Net v4.5.2 or whatever. |
Oh sorry, I'm building a UWP app. I can't seem to find a target framework for UWP apps (unlike other .NET projects) in VS. Edit: Targeting Windows 10 Anniversary Edition (Universal Windows) |
My understanding is that UWP simply isn't supported in general yet (although we do hope to do so) - see #787. I don't know whether when UWP is supported, it will necessarily support FileDataStore... |
If I recall correctly service accounts work as it doesn't need filedatastore. Oauth2 dosent due to the missing references. |
Alright then, I was just following the example. If it's not needed then great. I don't know if I should close this issue now since it's still an outstanding issue for UWP... |
issue is solved?. |
I think the answer is: no for UWP apps. Since work on UWP support is underway, this should be closed when UWP support is implemented.
-
Sammy Guergachi
…On Mar 24, 2017, 1:16 PM -0400, vhngroup ***@***.***>, wrote:
issue is solved?.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (#941 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAlj2rrSwgMClUPpwxKLDBSag_EyMEgQks5ro_pTgaJpZM4MnKn6).
|
UWP isn't currently supported, so closing this issue for now. If we decide to support UWP in the future, there will be a suitable file-based |
According to this documentation: https://developers.google.com/api-client-library/dotnet/guide/aaa_oauth#credentials
I should be able to pass a
FileDataStore
(https://developers.google.com/api-client-library/dotnet/reference/1.10.0/classGoogle_1_1Apis_1_1Util_1_1Store_1_1FileDataStore) object to store credentials viaGoogleWebAuthorizationBroker.AuthorizeAsync
but Google.Apis.Utils.Store doesn't seem to haveFileDataStore
.The text was updated successfully, but these errors were encountered: