Skip to content

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

License

Notifications You must be signed in to change notification settings

viovendi/oauth2-doo

Repository files navigation

doo Provider for OAuth 2.0 Client

Build Status Build Status Scrutinizer Code Quality Code Coverage License Total Downloads

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

Installation

To install, use composer:

composer require jpbernius/oauth2-doo

Usage

Usage is the same as The League's OAuth client, using JPBernius\OAuth2\Client\Provider\DooProvider as the provider.

Authorization Code Flow

$provider = new JPBernius\OAuth2\Client\Provider\DooProvider([
    'clientId' => 'YOUR_CLIENT_ID',
    'clientSecret' => 'YOUR_CLIENT_SECRET'
]);

$token = $provider->getAccessToken('client_credentials');

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages