Zimlet JavaScript API Reference - ZmAuthenticate

Class ZmAuthenticate


This class represents in-app authentication following the expiration of the session.

Defined in: ZmAuthenticate.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructor.
Method Summary
Method Attributes Method Name and Description
 
execute(uname, pword, callback)
Executes an authentication.
<static>  
ZmAuthenticate.setAdmin(isAdmin)
Sets the authentication as "admin".
Class Detail
ZmAuthenticate()
Constructor. Use execute to construct the authentication.
See:
#execute
Method Detail
execute(uname, pword, callback)
Executes an authentication.
Parameters:
{String} uname
the username
{String} pword
the password
{AjxCallback} callback
the callback

<static> ZmAuthenticate.setAdmin(isAdmin)
Sets the authentication as "admin".
Parameters:
{Boolean} isAdmin
true if admin

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:38 GMT-0400 (EDT)