Client
You can directly use instance of this class.
client
Client is the responsible of comunicate with the API.
Static Member Summary
Static Public Members | ||
public static get |
Get the current instance of Client |
Constructor Summary
Public Constructor | ||
public |
constructor(enforcer: Symbol) Constructor |
Member Summary
Public Members | ||
public set |
Set settings |
|
public set |
Set token |
|
public get |
Get the current token |
Method Summary
Public Methods | ||
public |
|
|
public |
This method fires a new window that allow login |
|
public |
|
|
public |
toQueryString(obj: Object): String Function that encode objects |
Static Public Members
Public Constructors
Public Members
Public Methods
public login(callback: Function): Function | Promise source
This method fires a new window that allow login
Params:
Name | Type | Attribute | Description |
callback | Function |