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); }
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)); }