tobymaxham/phoenixii-oauth2

A Package to use the OAuth2 API from PhoenixII.

v3.0 2024-08-08 15:28 UTC

README

A PHP package to use the PhoenixII OAuth2 API. Visit PhoenixII-Wiki for more Details.

Latest Version on Packagist GitHub commits Total Downloads GitHub contributors GitHub issues

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

ko-fi

Credits

License

The MIT License (MIT). Please see License File for more information.