38 if($this->authInterface ===
null)
40 $this->authInterface = new \CYandexOAuthInterface($this->engine[
'CLIENT_ID'], $this->engine[
'CLIENT_SECRET']);
42 if($this->engineSettings[
'AUTH'])
44 $this->authInterface->setToken($this->engineSettings[
'AUTH'][
'access_token']);
45 $this->authInterface->setRefreshToken($this->engineSettings[
'AUTH'][
'refresh_token']);
46 $this->authInterface->setAccessTokenExpires($this->engineSettings[
'AUTH'][
'expires_in']);