Login Authentication class
This class authenticates the user to acquire the user's access token.
The access token is used for authorization.
The constructor of the class will prompt the user to login. The constructor then will save the credentials for any subsequent attempts. If the user is already logged in to azure CLI or have logged-in before, the constructor will load the existing credentials without prompt.
When this python process is running in Azure Notebook service, the constructor will attempt to use the "connect to azure" feature in Azure Notebooks.
Please refer to aka.ms/aml-notebook-auth to learn about authentication mechanisms in AzureML SDK.