meteor-auth-client-callbacks

Adds client-side onLogin and onLogout methods

Stars
11
- NOTE: This package is not maintained anymore.
- If you want to help, please reach out to [email protected]

Meteor Auth Client Callbacks

Adds client-side onLogin and onLogout callbacks.

Installation

meteor add gwendall:auth-client-callbacks

Methods

Accounts.onLogin(callback) Callback called whenever the client logs in.

Accounts.onLogin(function() {
  console.log("I just logged in.");
});

Accounts.onLogout(callback) Callback called whenever the client logs out.

Accounts.onLogout(function() {
  console.log("I just logged out.");
});