Azure OSS for PHP API Reference

EnvironmentCredential
in package
implements TokenCredential

FinalYes

Authenticates from service-principal values in the standard AZURE_* environment variables.

Table of Contents

Interfaces

TokenCredential
Defines how an Azure credential obtains access tokens.

Properties

$options  : EnvironmentCredentialOptions

Methods

__construct()  : mixed
getToken()  : AccessToken
Requests an access token for the supplied OAuth scopes.
getCredential()  : TokenCredential|null

Properties

Methods

On this page

Search results