potibm / oauth2-sceneid
SceneId OAuth 2.0 Client Provider for The PHP League OAuth2-Client
Installs: 1 079
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
- ext-json: *
- league/oauth2-client: ^2.0
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
README
This package provides SceneId OAuth 2.0 support for the PHP League's OAuth 2.0 Client.
Installation
To install, use composer:
composer require potibm/oauth2-sceneid
Usage
Usage is the same as The League's OAuth client, using potibm\SceneIdOauth2\SceneIdProvider
as the provider.
Authorization Code Flow
$provider = new potibm\SceneIdOauth2\SceneIdProvider([ 'clientId' => '{sceneid-client-id}', 'clientSecret' => '{sceneid-client-secret}', 'redirectUri' => 'https://example.com/callback-url', ]);
License
The MIT License (MIT). Please see License File for more information.