/** * Base constructor. * * @param OAuth2 $oauth2 */ public function __construct(OAuth2 $oauth2) { $this->oauth2 = $oauth2; $this->certificateFile = $oauth2->getCertificate(); }