Anywhere accountsClientOrServer.onLoginFailure(func)
Anywhere but publish functions accountsClientOrServer.user()
Server accountsServer.onCreateUser(func)
Server accountsServer.validateLoginAttempt(func)
Anywhere accountsClientOrServer.onLogin(func)
Anywhere but publish functions accountsClientOrServer.userId()
Client accountsClient.logout([callback])
Server accountsServer.validateNewUser(func)
Client accountsClient.logoutOtherClients([callback])
Client new AccountsClient(options) import { AccountsClient }
Page 1 of 2