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

WL.Client.isUserAuthenticated

Check whether the user is authenticated in a specified resource realm, or in the resource realm assigned to the application when it was deployed.

Parameter Description
realm Optional. The name of a realm name defined in authenticationConfig.xml.

If no value is specified, the method uses the resource realm assigned to the application when it was deployed.


Return Values


Parent JavaScript client-side API