IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side API

WL.Client.login

Asynchronous function. Logs in to a specific realm.

Parameter Description
realm A realm that defines how the login process is performed. The realm can either be the one defined in the application descriptor, or a Facebook realm.

To log in to Facebook, the realm must be a realm which uses a Facebook authenticator, and therefore its name must start with facebook..

options Optional. A standard options object.


Return Value

None.


Parent JavaScript client-side API