/oauth2-sceneid

This package provides SceneId OAuth 2.0 support for the PHP League's OAuth 2.0 Client.

Primary LanguagePHPMIT LicenseMIT

SceneId Provider for OAuth 2.0 Client

Latest Version Latest Version on Packagist Software License Coverage Status

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.