mettle / oauth2-adobe-sign
Adobe Sign OAuth 2.0 Client Provider for The PHP League OAuth2-Client
v0.3.0
2022-02-08 15:17 UTC
Requires
- php: ^7.3 || ^8.0 || ^8.1
- league/oauth2-client: ^2.5
Requires (Dev)
- ext-json: *
- mockery/mockery: ^1.3
- phpunit/phpunit: ^9.0
README
https://acrobat.adobe.com/us/en/sign.html
This package provides Adobe Sign OAuth 2.0 support for The PHP League's OAuth 2.0 Client.
Requirements
The following versions of PHP are supported:
- PHP 8.1
- PHP 8.0
- PHP 7.4
- PHP 7.3
Installation
To install, use composer:
composer require mettle/oauth2-adobe-sign
Usage
Use The League's OAuth2 Client with \Mettle\OAuth2\Client\AdobeSign
as the provider.
Authorization Code Flow
$provider = new Mettle\OAuth2\Client\AdobeSign([ 'clientId' => 'your_client_id', 'clientSecret' => 'your_client_secret', 'redirectUri' => 'your_callback', 'dataCenter' => 'secure.na1', 'scope' => [ 'scope1:type', 'scope2:type' ] ]);
License
The MIT License (MIT). Please see LICENSE for more information.