Esempio n. 1
0
 private static Task<MobileServiceUser> LoginFacebookAsync(IPlatform mobileClient)
 {
     // use server flow if the service URL has been customized
     return Settings.IsDefaultServiceUrl() ?
         mobileClient.LoginFacebookAsync() :
         mobileClient.LoginAsync(MobileServiceAuthenticationProvider.Facebook);
 }
Esempio n. 2
0
 private static Task <MobileServiceUser> LoginFacebookAsync(IPlatform mobileClient)
 {
     // use server flow if the service URL has been customized
     return(Settings.IsDefaultServiceUrl() ?
            mobileClient.LoginFacebookAsync() :
            mobileClient.LoginAsync(MobileServiceAuthenticationProvider.Facebook));
 }