Gets the current authentication state.
Creates an Authorization object that provides access to the roles of the current user.
Optionalauthentication: Authentication | UserCreates an User object that provides access to properties of the current user.
(normally triggered via: getAuthentication().getUser(); )
Optionalauthentication: AuthenticationPerforms a login. options is only {refresh:true}, which marks that no events are triggered!
Optionalcredentials: LoginCredentialsOptionaloptions: LoginOptionsTriggers logout of an Authentication instance
(normally triggered via: getAuthentication().logout();
Optionalauthentication: AuthenticationRegisters event listener.
Service used to login/logout a user. Available as service with interface
ct.framework.api.UserAdmin