c# - LoginAsync missing -


i wrote android application uses azure perform user login google, twitter , facebook; uses microsoft.windowsazure.mobileservices.android.dll , i'm able like

await client.loginasync(context, mobileserviceauthenticationprovider.google); 

(in azure set ids , secrets use google, facebook , twitter).

now i'm developing windows app (desktop app) using windows 7, vs2012 , framework 4.5 , i'd perform same login (so can authentication token , use query sql database); used nuget import microsoft.windowsazure.mobile package , see referenced both microsoft.windowsazure.mobile , microsoft.windowsazure.mobile.ext.

when try use loginasync, similar syntax used in android missing.
according link http://www.windowsazure.com/en-us/develop/mobile/how-to-guides/work-with-net-client-library/#caching in extension package there should extension method lets me use

user = await client.loginasync(mobileserviceauthenticationprovider.google); 

but vs cannot see , cannot use it.
see method

loginasync(mobileserviceauthenticationprovider provider, jsonobject token) 

but don't need honestly...
missing something?

the "simplified", or "browser-based" login method available on supported platforms, except full .net framework 4.5. platform lacks functionality because there cases cannot display web interface user can enter credentials. example, can used in backend service (see example @ this post). can console application, in there’s no “native” way display web page. on project types "native" ui components, such winforms or wpf, there's no "natural" way show login page - if window wpf-based, wouldn't natural in winforms app, , vice-versa.

for specific platform, however, can add method extension method. post @ http://blogs.msdn.com/b/carlosfigueira/archive/2013/08/27/web-based-login-on-wpf-projects-for-azure-mobile-services.aspx talks that, , has code showing how can done.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -