1 | <?php |
||
21 | class ApplicationKeyConnection extends AbstractSaveableConnection implements SavableConnectionInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | public $key; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | public $hubId; |
||
32 | |||
33 | /** |
||
34 | * Returns the display name of this class. |
||
35 | * |
||
36 | * @return string The display name of this class. |
||
37 | */ |
||
38 | public static function displayName(): string |
||
42 | |||
43 | /** |
||
44 | * @inheritdoc |
||
45 | * @throws \Twig_Error_Loader |
||
46 | * @throws \yii\base\Exception |
||
47 | */ |
||
48 | public function getSettingsHtml() |
||
57 | |||
58 | /** |
||
59 | * @inheritdoc |
||
60 | */ |
||
61 | public function rules() |
||
86 | |||
87 | /** |
||
88 | * @return string |
||
89 | */ |
||
90 | public function getHubId(): string |
||
94 | |||
95 | /** |
||
96 | * Add the 'hapikey' to the query |
||
97 | * |
||
98 | * @inheritdoc |
||
99 | */ |
||
100 | public function prepareAuthorizationRequest( |
||
124 | |||
125 | /** |
||
126 | * We can't do much, just return the response |
||
127 | * |
||
128 | * @inheritdoc |
||
129 | */ |
||
130 | public function handleAuthorizationResponse( |
||
137 | } |
||
138 |