Specifying Different Scopes

The array of scopes that you pass to the WL.init() method determines the information that you have permission to access. There is all sorts of fun and scary information that you can extract from a Windows Live user account including the user birthday, email addresses, mailing address, photos, and contacts.

Here’s a partial list of scopes:

Image wl.signin—Single sign-in behavior

Image wl.basic—Read access to basic profile information and contacts

wl.offline_access—Ability to read and update user information even when a user is not ...

Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.