Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

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

Notifications You must be signed in to change notification settings

CarltonSoftware/oauth2-tabs2

Repository files navigation

oauth2-tabs2

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
]);

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages