Azure OSS for PHP API Reference

DefaultAzureCredential
in package
implements TokenCredential

FinalYes

Tries a configurable chain of common Azure credentials.

By default the chain checks environment and workload identity configuration; managed identity can be enabled through DefaultAzureCredentialOptions.

Table of Contents

Interfaces

TokenCredential
Defines how an Azure credential obtains access tokens.

Properties

$chain  : TokenCredential
$options  : DefaultAzureCredentialOptions

Methods

__construct()  : mixed
Creates the default credential chain from the enabled credential sources.
getToken()  : AccessToken
Requests an access token for the supplied OAuth scopes.

Properties

Methods

On this page

Search results