Registry / auth / thenetworg-oauth2-azure

thenetworg-oauth2-azure

JSON →
library2.2.3phppackagistunverified

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

composer require thenetworg/oauth2-azure
INSTALL
IMPORT
SIG · THENETWORG-OAUTH2-
T
thenetworg-oauth2-azure
authphpv2.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Azure
use TheNetworg\OAuth2\Client\Provider\Azure;

Redirect user to Azure AD for authentication.

use TheNetworg\OAuth2\Client\Provider\Azure; $provider = new Azure([ 'clientId' => 'your-client-id', 'clientSecret' => 'your-client-secret', 'redirectUri' => 'https://your-app.com/callback', ]); $authUrl = $provider->getAuthorizationUrl(); header('Location: ' . $authUrl);
Debug
Known issues
breakingRequires PHP 7.4+ and league/oauth2-client
fix
Upgrade PHP and install league/oauth2-client.
affects: <2.0.0
Upgrade
Version history
2.2.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Resources
thenetworg-oauth2-azure — pip install thenetworg-oauth2-azure · libregistry