The AzureOAuth2Client class communicates with the Azure API servers, to retrieve a token used to authenticate REST calls to the Azure API.
It extends the OAuth2/Client class, and adds a resource
URL parameter to the OAuth2 query. This is required by the Azure API to define the scope of the resulting authentication token.
It is used by the OAuth2AzureTrait trait.