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