Skip to content
A Package to use the OAuth2 API from PhoenixII
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
samples
src
.gitignore
.php_cs
LICENSE.md
README.md
composer.json
composer.lock

README.md

PhoenixII OAuth2

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.

You can’t perform that action at this time.