PayPal\Auth\OAuthTokenCredential::__construct PHP Méthode

__construct() public méthode

Construct
public __construct ( string $clientId, string $clientSecret )
$clientId string client id obtained from the developer portal
$clientSecret string client secret obtained from the developer portal
    public function __construct($clientId, $clientSecret)
    {
        $this->clientId = $clientId;
        $this->clientSecret = $clientSecret;
        $this->cipher = new Cipher($this->clientSecret);
    }