Module: Wrapper

Classes

WebPortal
WebPortalSession

Members

(static, constant) API :string

Base API endpoint for the JIIT web portal
Type:
  • string
Source:

(static, constant) DEFCAPTCHA :Object

Default CAPTCHA values used for login
Type:
  • Object
Source:

(inner, constant) authenticatedMethods :Array.<string>

List of methods that require authentication
Type:
  • Array.<string>
Source:

Methods

(inner) authenticated(method) → {function}

Decorator that checks if user is authenticated before executing method
Parameters:
Name Type Description
method function Method to decorate
Source:
Throws:
If user is not logged in
Type
NotLoggedIn
Returns:
Decorated method that checks authentication
Type
function