コード例 #1
0
 /**
  * Redirect the user to the authentication page for the provider.
  *
  * @return RedirectResponse
  */
 public function redirect()
 {
     $this->request->getSession()->set('oauth.temp', $temp = $this->server->getTemporaryCredentials());
     return new RedirectResponse($this->server->getAuthorizationUrl($temp));
 }