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

This package is auto-updated.

Last update: 2024-04-08 19:48:52 UTC


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.

Source Code Latest Version Software License Build Status

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.