1 | <?php |
||
20 | class GuardianSettings extends BaseSettings |
||
21 | { |
||
22 | /** |
||
23 | * The input scope delimiter |
||
24 | */ |
||
25 | const SCOPE_DELIMITER = ' '; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | public $baseAuthorizationUrl; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | public $baseAccessTokenUrl; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | public $baseResourceOwnerDetailsUrl; |
||
41 | |||
42 | /** |
||
43 | * @var array |
||
44 | */ |
||
45 | private $defaultScopes = []; |
||
46 | |||
47 | /** |
||
48 | * @return array |
||
49 | */ |
||
50 | public function getDefaultScopes(): array |
||
54 | |||
55 | /** |
||
56 | * @param null|string|string[] $scopes |
||
57 | * @return $this |
||
58 | */ |
||
59 | public function setDefaultScopes($scopes = null) |
||
71 | |||
72 | /** |
||
73 | * @param mixed $scopes |
||
74 | * @return array |
||
75 | */ |
||
76 | private function normalizeScopes($scopes = null): array |
||
96 | |||
97 | /** |
||
98 | * @return string |
||
99 | * @throws \Twig_Error_Loader |
||
100 | * @throws \yii\base\Exception |
||
101 | */ |
||
102 | public function inputHtml(): string |
||
111 | |||
112 | /** |
||
113 | * @inheritdoc |
||
114 | */ |
||
115 | public function attributes() |
||
124 | |||
125 | /** |
||
126 | * @inheritdoc |
||
127 | */ |
||
128 | public function attributeLabels() |
||
140 | |||
141 | /** |
||
142 | * @inheritdoc |
||
143 | */ |
||
144 | public function rules() |
||
180 | } |
||
181 |