Updated: June 20, 2013
Logs a user into a mobile service by using the specified identity provider.
The name of the identity provider, which instructs Mobile Services which provider to use for authentication. The following values are supported:
Provider value Description
Microsoft Account login.
- Type: string Optional JSON representation of an authentication token, which can be supplied when the client has already obtained a token from the identity provider.
- Type: boolean Indicates whether to use single sign-on when logging in. Only supported in a Windows Store app.
When you set the useSingleSignOn value to true, Mobile Services will attempt to login using credentials cached on the client. To be able to use this functionality, you must have also registered your Windows Store app package information with Mobile Services. For information on how to register your app package, see the tutorial Get started with push notifications in Mobile Services.