PluginProbe
Loginizer / 1.9.9
Loginizer v1.9.9
2.1.0 2.0.9 2.0.8 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 All 74 releases
loginizer / lib / hybridauth / Thirdparty / OAuth / OAuthConsumer.php

OAuthConsumer.php in Loginizer 1.9.9, at lib/hybridauth/Thirdparty/OAuth/OAuthConsumer.php

43 lines 864 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*!
3 * This file is part of the OAuth PHP Library (https://code.google.com/p/oauth/)
4 *
5 * OAuth `PHP' Library is an open source software available under the MIT License.
6 */
7
8 namespace Hybridauth\Thirdparty\OAuth;
9
10 /**
11 * Class OAuthConsumer
12 *
13 * @package Hybridauth\Thirdparty\OAuth
14 */
15 class OAuthConsumer
16 {
17 public $key;
18 public $secret;
19 public $callback_url;
20
21 /**
22 * OAuthConsumer constructor.
23 *
24 * @param $key
25 * @param $secret
26 * @param null $callback_url
27 */
28 public function __construct($key, $secret, $callback_url = null)
29 {
30 $this->key = $key;
31 $this->secret = $secret;
32 $this->callback_url = $callback_url;
33 }
34
35 /**
36 * @return string
37 */
38 public function __toString()
39 {
40 return "OAuthConsumer[key=$this->key,secret=$this->secret]";
41 }
42 }
43