src/api/core/client.ts
Jexia main client fo the JavaScript SDK, used to initialize the necessary modules with your project information. This object must be build from the helper functions, never to be instantiated directly.
```typescript
Methods |
|
Public init | ||||||||||||
init(opts: IAuthOptions, ...modules: IModule[])
|
||||||||||||
Initialized the Jexia client with all the used modules
Parameters :
Returns :
Promise<Client>
A promise that just finishes when all the given modules finished their initialization |
Public terminate |
terminate()
|
Terminate the Jexia client with all the used modules
Returns :
Promise<Client>
A promise that just finishes when all the given modules finished their termination |