EnvironmentCredentialOptions
extends TokenCredentialOptions
in package
FinalYes
Configures environment credential options.
Table of Contents
Properties
- $authorityHost : string
- $httpClient : ClientInterface|null
- $requestFactory : RequestFactoryInterface|null
- $streamFactory : StreamFactoryInterface|null
Methods
- __construct() : mixed
Properties
$authorityHost read-only
public
string
$authorityHost
= AzureAuthorityHosts::AZURE_PUBLIC_CLOUD
$httpClient read-only
public
ClientInterface|null
$httpClient
= null
$requestFactory read-only
public
RequestFactoryInterface|null
$requestFactory
= null
$streamFactory read-only
public
StreamFactoryInterface|null
$streamFactory
= null
Methods
__construct()
public
__construct([string $authorityHost = AzureAuthorityHosts::AZURE_PUBLIC_CLOUD ][, ClientInterface|null $httpClient = null ][, RequestFactoryInterface|null $requestFactory = null ][, StreamFactoryInterface|null $streamFactory = null ]) : mixed
Parameters
- $authorityHost : string = AzureAuthorityHosts::AZURE_PUBLIC_CLOUD
-
Microsoft Entra authority host name without a scheme.
- $httpClient : ClientInterface|null = null
-
PSR-18 client, or null to use HTTP discovery.
- $requestFactory : RequestFactoryInterface|null = null
-
PSR-17 request factory, or null to use discovery.
- $streamFactory : StreamFactoryInterface|null = null
-
PSR-17 stream factory, or null to use discovery.