InternalReturns the current user if set, otherwise fetches the user info from user-info endpoint (whoami).
If the whoami endpoint also returns service endpoints information (in case of cloud), it also configures the ConfigurationManager with the endpoints.
The tenantName will be ignored if the user is already logged in.
This is done to avoid the potential hazard of attempting to change the tenant by calling this method.
InternalOptionalurl: string | URLInternalSigns out the current user, and redirects to login page.
OptionalcallSignOutEp: boolean = trueSet this to false, to only redirect to login page.
Manages the authentication part of an app.
For more information refer {@page security | the README}.