Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

#415: additional tech review comments of auth #427

Merged
merged 1 commit into from

2 participants

@ggailey777
Collaborator

No description provided.

@mollybostic mollybostic was assigned
@mollybostic mollybostic merged commit 46f963a into Azure:weekly
@mollybostic mollybostic was unassigned by ggailey777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 14, 2012
  1. @ggailey777
This page is out of date. Refresh to see the latest.
View
4 DevCenter/Mobile/HowTo/mobile-services-register-twitter-auth.md
@@ -18,6 +18,10 @@ This topic shows you how to register your apps to be able to use Twitter to auth
![][2]
+ <div class="dev-callout"><b>Note</b>
+ <p>The **Website** value is required but is not used.</p>
+ </div>
+
3. At the bottom the page, read and accept the terms, type the correct CAPTCHA words, and then click **Create your Twitter application**.
![][3]
View
BIN  DevCenter/Mobile/Media/mobile-services-facebook-new-app-dialog.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
6 DevCenter/Mobile/Tutorials/mobile-services-get-started-with-users-dotnet.md
@@ -84,9 +84,9 @@ Next, you will update the app to authenticate users before requesting resources
{
user = await App.MobileService
- .Login(
+ .LoginAsync(
MobileServiceAuthenticationProvider.Facebook);
- if (user.UserId == null)
+ if (user.UserId != null)
{
var message =
@@ -109,7 +109,7 @@ Next, you will update the app to authenticate users before requesting resources
This creates a member variable for storing the current user and a method to handle the authentication process. The user is authenticated by using a Facebook login.
<div class="dev-callout"><b>Note</b>
- <p>If you are using an identity provider other than Facebook, change the value of <strong>MobileServiceAuthenticationProvider</strong> above to the value for your provider.</p>
+ <p>If you are using an identity provider other than Facebook, change the value of MobileServiceAuthenticationProvider above to the value for your provider.</p>
</div>
8. Replace the existing **OnNavigatedTo** event handler with the handler that calls the new **Authenticate** method:
Something went wrong with that request. Please try again.