Webiny\Component\OAuth2\OAuth2::setCertificate PHP Method

setCertificate() public method

Set the certificate used by OAuth2 requests.
public setCertificate ( string $pathToCertificate ) : void
$pathToCertificate string Absolute path to the certificate file.
return void
    public function setCertificate($pathToCertificate)
    {
        $this->instance->setCertificate($pathToCertificate);
    }