PHP Package: thenetworg/oauth2-azure

PHP library for OAuth2 integration with Azure Active Directory. Simplifies authentication workflows and token management for Azure services.

Current Version: 2.2.2
Last Updated: 2023-12-19
PHP Requirement: ^7.1|^8.0
Dependencies:
guzzle/guzzle
league/oauth2-client
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

OAuth2 Azure library streamlines the process of authenticating users and obtaining access tokens for Azure resources. It provides a secure and efficient way to handle authorization in PHP applications, ensuring seamless integration with Azure services.

🔗 View on GitHub

Download Latest Version: 2.2.2

Download Download v2.2.2

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/thenetworg/oauth2-azure/2.2.2/loader.php';
require_once 'libs/guzzle/guzzle/7.10.0/loader.php';
require_once 'libs/league/oauth2-client/{lib_version}/loader.php';

use TheNetworg\OAuth2\Azure\Provider\Azure;
use TheNetworg\OAuth2\Azure\Provider\AzureUser;

$obj = new Azure();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.