tobymaxham / phoenixii-oauth2
A Package to use the OAuth2 API from PhoenixII.
v3.0
2024-08-08 15:28 UTC
Requires
- php: >8.2
- ext-json: *
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.9
- phpunit/phpunit: ^8.2
This package is auto-updated.
Last update: 2024-11-08 16:06:10 UTC
README
A PHP package to use the PhoenixII OAuth2 API. Visit PhoenixII-Wiki for more Details.
Installation
composer require tobymaxham/phoenixii-oauth2
Usage
See samples/*
for more Details.
$client = new AuthProvider($baseUrl, $client_id, $client_secret, $bearer_token); $token = $client->getAccessToken('authorization_code', [ 'code' => urldecode($code]), ]);
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
If you've found a bug regarding security please mail git@maxham.de instead of using the issue tracker.
Support me
Credits
License
The MIT License (MIT). Please see License File for more information.