Enables authentication to Azure Active Directory using client secret details configured in the following environment variables:
This credential ultimately uses a ClientSecretCredential to perform the authentication using these details. Please consult the documentation of that class for more details.
Creates an instance of the EnvironmentCredential class and reads client secret details from environment variables. If the expected environment variables are not found at this time, the getToken method will return null when invoked.
Options for configuring the client which makes the authentication request.
Authenticates with Azure Active Directory and returns an access token if successful. If authentication cannot be performed at this time, this method may return null. If an error occurs during authentication, an AuthenticationError containing failure details will be thrown.
The list of scopes for which the token will have access.
The options used to configure any requests this TokenCredential implementation might make.
Generated using TypeDoc