tobymaxham/phoenixii-oauth2

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

A Package to use the OAuth2 API from PhoenixII.

v2.0 2021-08-27 20:54 UTC

This package is auto-updated.

Last update: 2021-11-27 21:56:09 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]),
]);

License

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