The AuthBase class acts as a base class for the AuthCallbacks and AuthPromise classes.

Hierarchy

Constructors

Properties

Constructors

Properties

clientId: string

A client ID, used for identifying this client when publishing messages or for presence purposes. The clientId can be any non-empty string, except it cannot contain a *. This option is primarily intended to be used in situations where the library is instantiated with a key. Note that a clientId may also be implicit in a token used to instantiate the library. An error is raised if a clientId specified here conflicts with the clientId implicit in the token. Find out more about identified clients.

Generated using TypeDoc