tabs-software / oauth2-tabs2
This package is abandoned and no longer maintained.
No replacement package was suggested.
tabs 2 OAuth 2.0 Client Provider for The PHP League OAuth2-Client
0.1.1
2018-04-20 11:06 UTC
Requires
- php: >=5.5.0
- league/oauth2-client: ^2.0
Requires (Dev)
- phpunit/phpunit: ^7.0
- squizlabs/php_codesniffer: ^3.2
This package is not auto-updated.
Last update: 2020-10-17 10:23:07 UTC
README
tabs 2 OAuth 2.0 Client Provider for The PHP League OAuth2-Client
Install
Via Composer
$ composer require CarltonSoftware/oauth2-tabs2
Usage
Usage is the same as The League's OAuth client, using \League\OAuth2\Client\Provider\Tabs2
as the provider.
$provider = new League\OAuth2\Client\Provider\Tabs2([ 'apiHost' => 'https://mockl.test.api.tabs-software.co.uk', 'clientId' => '{tabs2-client-id}', 'clientSecret' => '{tabs2-client-secret}', 'redirectUri' => 'https://example.com/callback-url', // Only required if using the authorisation code grant type ]);