Пример #1
0
 /**
  * {@inheritDoc}
  */
 protected function attemptAuthentication(Request $request)
 {
     $accessToken = $this->oauthProvider->getAccessToken($request);
     $token = new OAuthToken($accessToken);
     return $this->authenticationManager->authenticate($token);
 }