This event will be triggered right AFTER the instance was initialised
This event will be triggered right BEFORE the instance was closed
Erases the instance. This function will:
Checks if the user exists or not.
Logins the user. This function will:
This function will login or register based on the instance existence.
Logouts the user. This function will:
Erases the current instance. This function will:
Registers the user. Register acts as a login if the instance does not exist yet.
Optional
secretEncryptionKey: string | Uint8Array<ArrayBufferLike>Optional
secretSignKey: string | Uint8Array<ArrayBufferLike>
This class represents an 'Multi User API With Credentials' authentication workflow.