Azure OSS for PHP API Reference

ClientSecretCredential
in package
implements TokenCredential

FinalYes

Authenticates a Microsoft Entra service principal with a client secret.

Table of Contents

Interfaces

TokenCredential
Defines how an Azure credential obtains access tokens.

Properties

$clientId  : string
$clientSecret  : string
$options  : ClientSecretCredentialOptions
$tenantId  : string

Methods

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

Properties

Methods

On this page

Search results