23.01.2018 Views

MICROSOFT_PRESS_EBOOK_PROGRAMMING_WINDOWS_8_APPS_WITH_HTML_CSS_AND_JAVASCRIPT_PDF

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Note To run the sample you’ll need an app ID for each of the authentication providers in the various<br />

scenarios. For Facebook in Scenario 1, visit http://developers.facebook.com/setup and create an App<br />

ID/API Key for a test app.<br />

In the case of Facebook, the authentication process involves more than just checking the user’s<br />

credentials. It also needs to obtain permission for other capabilities that the app wants to use (which the<br />

user might have independently revoked directly through Facebook). As a result, the authentication<br />

process might navigate to additional pages, each of which still appears within the web authentication<br />

broker, as shown in Figure 14-4. In this case the app identity, ProgrammingWin8_AuthTest, is just one<br />

that I created through the Facebook developer setup page for the purposes of this demonstration.<br />

FIGURE 14-4 Additional authentication steps for Facebook within the web authentication broker.<br />

662

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!