Client State Listener

A listener to handle Client’s sign-in state changes.

Declared In

lib/main/modules/ClientModule.js


Setting up

Synerise.Client.setClientStateListener({
  onClientSignedIn: function() {
    // your implementation
  },
  onClientSignedOut: function(reason) {
    // your implementation
  }
});

Functions


The following method is called when a client signs in.

  onClientSignedIn: function() {
    // implementation
}


The following method is called when a client signs out.

  onClientSignedOut: function(reason) {
    // implementation
}

😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker