PHP Class PayPal\Handler\OauthHandler

Inheritance: implements PayPal\Handler\IPayPalHandler
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
__construct ( ApiContext $apiContext ) Construct
handle ( PayPalHttpConfig $httpConfig, string $request, mixed $options ) : mixed | void

Private Methods

Method Description
_getEndpoint ( array $config ) : PayPalHttpConfig Get HttpConfiguration object for OAuth API

Method Details

__construct() public method

Construct
public __construct ( ApiContext $apiContext )
$apiContext PayPal\Rest\ApiContext

handle() public method

public handle ( PayPalHttpConfig $httpConfig, string $request, mixed $options ) : mixed | void
$httpConfig PayPal\Core\PayPalHttpConfig
$request string
$options mixed
return mixed | void