appUser and event when login occurs

Is there a hook/event that’s obtainable, to know when a user has logged into the app?
Say your home page is public, but there’s a login action the user can take, and you need to prepare some data once you have the logged in user (via options.request?.appUser.id;), but you need to know when authentication is complete.
(planning on a Service to establish a singleton with user info needed by many components.

You can do this in a page or service that needs to know when the user logs in and logs out:

this.authService.authenticated.subscribe((authenticated)=>{
  debug('authenticated',authenticated)
});

That will be called when the user logs in and logs out.

If you use that in a service that initialized once, you can use that as is.

If you are using that in a page, remember to push the subscription onto the subscriptions list and clean them up as you leave the page (like you do with form control value changes).