Winflector JavaScript API

Class WFAPI

Object
   |
   +--WFAPI

class WFAPI

Defined in wflogin.js


Nested Class Summary
<static class> WFAPI.Application
 
Field Summary
 WFAPI.Application[]|undefined Applications
          Array of applications.
 string|undefined AppListCustomTitleText
          The title text for the list of applications.
 number|boolean AppParametersVisible
          Whether the runtime parameters input should be visible or hidden for all applications.
 number|boolean AppWorkingDirVisible
          Whether the working directory input should be visible or hidden for all applications.
 number|boolean ButtonRunInActiveXVisible
          Whether the button to run an application in a deprecated ActiveX client should be visible or hidden for all applications.
 number|boolean ButtonRunInBrowserVisible
          Whether the button to run an application in a web-based client should be visible or hidden for all applications.
 number|boolean ButtonRunVisible
          Whether the button to run an application in a native client should be visible or hidden for all applications.
 number|boolean ButtonSetClientOptionsVisible
          Whether the button to set the user's options for all clients should be visible or hidden.
 number|boolean ButtonUpdateClientVisible
          Whether the button to update the native client should be visible or hidden.
 number LoginPageTimeout
          Time (milliseconds from now) when the current session expires and the user must log in again.
 function(?number, ?string, ?string) onerror
          User's callback function to be called if an error occurs.
 function(number) onprogress
          User's callback function to display a progress feedback.
 string WFLCheckActiveXVer
          Current version of an ActiveX checking the presence of a native client.
 string WFLClientActiveXVer
          Current version of a deprecated ActiveX client.
 
Constructor Summary
WFAPI()
            Winflector public API constructor.
 
Method Summary
 void getApps(<loginTokenCallback> callback)
           Retrieves the application list.
 String getLogin()
           Returns the current login name (login identifier).
 void logout(<function()=> callback)
           Logs out the current user and finishes the current session.
 void sendLogin(<string> login_val, <string> password_val, <string=> domain_val, <loginTokenCallback> ltoken_fun)
           Sends login action to the server.
<static> WFAPI getInstance()
           Winflector public API singleton accessor.

Field Detail

Applications

WFAPI.Application[]|undefined Applications

AppListCustomTitleText

string|undefined AppListCustomTitleText

AppParametersVisible

number|boolean AppParametersVisible

AppWorkingDirVisible

number|boolean AppWorkingDirVisible

ButtonRunInActiveXVisible

number|boolean ButtonRunInActiveXVisible

ButtonRunInBrowserVisible

number|boolean ButtonRunInBrowserVisible

ButtonRunVisible

number|boolean ButtonRunVisible

ButtonSetClientOptionsVisible

number|boolean ButtonSetClientOptionsVisible

ButtonUpdateClientVisible

number|boolean ButtonUpdateClientVisible

LoginPageTimeout

number LoginPageTimeout

onerror

function(?number, ?string, ?string) onerror

onprogress

function(number) onprogress

WFLCheckActiveXVer

string WFLCheckActiveXVer

WFLClientActiveXVer

string WFLClientActiveXVer

Constructor Detail

WFAPI

WFAPI()

Method Detail

getApps

void getApps(<loginTokenCallback> callback)

getLogin

String getLogin()

logout

void logout(<function()=> callback)

sendLogin

void sendLogin(<string> login_val, <string> password_val, <string=> domain_val, <loginTokenCallback> ltoken_fun)

getInstance

<static> WFAPI getInstance()

Winflector JavaScript API

Documentation generated by JSDoc on Thu Dec 1 15:54:46 2016