Namespace: AuthService

Help4.AuthService

Service for OTS
Source:

Methods

(static) getToken() → {string|null}

Source:
Returns:
Type
string | null

(static) getUID() → {string|null}

Source:
Returns:
Type
string | null

(static) isOTS() → {boolean}

Source:
Returns:
Type
boolean

(static) receiveMessage(event) → {boolean}

Parameters:
Name Type Description
event Object
Properties
Name Type Description
data string | Object string if coming from Help4.receiveMessage; Object if external usage from _handleExternalUsage
Source:
Returns:
Type
boolean

(static) removeToken(baseUrl)

Parameters:
Name Type Description
baseUrl string
Source:

(static) setBaseUrl(baseUrl)

Parameters:
Name Type Description
baseUrl string
Source:

Type Definitions

Token

Type:
  • Object
Properties:
Name Type Description
cmp-ots-token string
cmp-ots-uid string
Source:

TokenInfo

Type:
  • Object
Properties:
Name Type Description
baseUrl string base URL of server
token Help4.AuthService.Token OTS token for this server
Source: