コード例 #1
0
 public function __construct()
 {
     global $facebookClientId, $facebookClientSecret, $facebookRedirectUrl;
     parent::__construct(array("clientId" => $facebookClientId, "clientSecret" => $facebookClientSecret, "redirectUrl" => $facebookRedirectUrl, "authType" => 1, "authorizeUrl" => "https://www.facebook.com/dialog/oauth", "accessTokenUrl" => "https://graph.facebook.com/oauth/access_token"));
 }
コード例 #2
0
 public function __construct()
 {
     global $redditClientId, $redditClientSecret, $redditRedirectUrl;
     parent::__construct(array("clientId" => $redditClientId, "clientSecret" => $redditClientSecret, "redirectUrl" => $redditRedirectUrl, "authType" => 1, "authorizeUrl" => "https://ssl.reddit.com/api/v1/authorize", "accessTokenUrl" => "https://ssl.reddit.com/api/v1/access_token"));
 }
コード例 #3
0
 public function __construct()
 {
     global $googleClientId, $googleClientSecret, $googleRedirectUrl;
     parent::__construct(array("clientId" => $googleClientId, "clientSecret" => $googleClientSecret, "redirectUrl" => $googleRedirectUrl, "authType" => 2, "authorizeUrl" => "https://accounts.google.com/o/oauth2/auth", "accessTokenUrl" => "https://accounts.google.com/o/oauth2/token"));
 }
コード例 #4
0
 public function __construct()
 {
     global $gitClientId, $gitClientSecret, $gitRedirectUrl;
     parent::__construct(array("clientId" => $gitClientId, "clientSecret" => $gitClientSecret, "redirectUrl" => $gitRedirectUrl, "authType" => 2, "authorizeUrl" => "https://github.com/login/oauth/authorize", "accessTokenUrl" => "https://github.com/login/oauth/access_token"));
 }