dropsolid / oauth2-dropsolid-platform
Dropsolid Platform OAuth 2.0 Client Provider for The PHP League OAuth2-Client
1.0.0
2023-08-02 17:03 UTC
Requires
- php: ^7.1|^8.0
- league/oauth2-client: ^2.0
README
This package provides Dropsolid Platform OAuth 2.0 support for the PHP League's OAuth 2.0 Client.
Installation
composer require dropsolid/oauth2-dropsolid-platform
Usage
See the League documentation. This package provides a Dropsolid Platform specific provider you can use instead of the generic one.
$provider = new Dropsolid\OAuth2\Client\Provider\DropsolidPlatform([
'clientId' => 'your-client-id',
'clientSecret' => 'your-client-secret',
'redirectUri' => 'https://example.com/your-redirect-url',
]);