potibm/oauth2-sceneid

SceneId OAuth 2.0 Client Provider for The PHP League OAuth2-Client

v1.0.0 2022-02-16 21:31 UTC

This package is auto-updated.

Last update: 2024-11-18 02:01:37 UTC


README

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.