hello.js - Login Events

Global events are bound via hello.on(eventname, handler).

auth.login

Triggered per network, whenever a user logs in, or opens a page within the same origin with a valid session.



auth.logout

Triggered per network, whenever a user logs out.





Initiate

Call hello.init last, otherwise the on-page-load events will not fire.