Debian Codegraph @

extensions/OATHAuth/extension.json

raw symbols SCIP
1 {
2 "name": "OATHAuth",
3 "version": "0.5.0",
4 "author": [
5 "Ryan Lane",
6 "Robert Vogel <[email protected]>",
7 "Dejan Savuljesku <[email protected]>",
8 "Taavi Väänänen"
9 ],
10 "url": "https://www.mediawiki.org/wiki/Extension:OATHAuth",
11 "descriptionmsg": "oathauth-desc",
12 "type": "other",
13 "requires": {
14 "MediaWiki": ">= 1.43"
15 },
16 "license-name": "GPL-2.0-or-later AND GPL-3.0-or-later",
17 "attributes": {
18 "OATHAuth": {
19 "Modules": {
20 "totp": {
21 "class": "\\MediaWiki\\Extension\\OATHAuth\\Module\\TOTP",
22 "services": [
23 "OATHUserRepository"
24 ]
25 }
26 }
27 }
28 },
29 "AutoloadNamespaces": {
30 "MediaWiki\\Extension\\OATHAuth\\": "src/",
31 "MediaWiki\\Extension\\OATHAuth\\Maintenance\\": "maintenance/"
32 },
33 "TestAutoloadNamespaces": {
34 "MediaWiki\\Extension\\OATHAuth\\Tests\\": "tests/phpunit/"
35 },
36 "AuthManagerAutoConfig": {
37 "secondaryauth": {
38 "OATHSecondaryAuthenticationProvider": {
39 "class": "\\MediaWiki\\Extension\\OATHAuth\\Auth\\SecondaryAuthenticationProvider",
40 "sort": 50
41 }
42 }
43 },
44 "ServiceWiringFiles": [
45 "ServiceWiring.php"
46 ],
47 "ExtensionMessagesFiles": {
48 "OATHAuthAlias": "OATHAuth.alias.php"
49 },
50 "Hooks": {
51 "AuthChangeFormFields": "main",
52 "LoadExtensionSchemaUpdates": "updater",
53 "GetPreferences": "main",
54 "getUserPermissionsErrors": "main",
55 "UserEffectiveGroups": "main",
56 "UserGetRights": "main",
57 "BeforeCreateEchoEvent": "echo",
58 "MediaWikiServices": "mwservices"
59 },
60 "HookHandlers": {
61 "main": {
62 "class": "\\MediaWiki\\Extension\\OATHAuth\\Hook\\HookHandler",
63 "services": [
64 "OATHUserRepository",
65 "PermissionManager",
66 "MainConfig",
67 "UserGroupManager"
68 ]
69 },
70 "updater": {
71 "class": "MediaWiki\\Extension\\OATHAuth\\Hook\\UpdateTables"
72 },
73 "echo": {
74 "class": "MediaWiki\\Extension\\OATHAuth\\Hook\\EchoHandler"
75 },
76 "mwservices": {
77 "class": "MediaWiki\\Extension\\OATHAuth\\Hook\\MWServicesHandler"
78 }
79 },
80 "MessagesDirs": {
81 "OATHAuth": [
82 "i18n",
83 "i18n/api"
84 ]
85 },
86 "config": {
87 "OATHAuthWindowRadius": {
88 "value": 4,
89 "description": "Number of token windows on either side of current time to be considered valid for authentication."
90 },
91 "OATHAuthDatabase": {
92 "value": false,
93 "description": "Deprecated; configure the virtual-oathauth virtual domain instead."
94 },
95 "OATHAuthAccountPrefix": {
96 "value": false,
97 "description": "Prefix for user account shown during enrollment."
98 },
99 "OATHExclusiveRights": {
100 "value": [],
101 "description": "List of permissions that are revoked from users who do not use two-factor authentication."
102 },
103 "OATHRequiredForGroups": {
104 "value": [],
105 "description": "List of user groups that must use two-factor authentication."
106 }
107 },
108 "ResourceModules": {
109 "ext.oath.styles": {
110 "class": "MediaWiki\\ResourceLoader\\CodexModule",
111 "styles": [
112 "totp/ext.oath.showqrcode.styles.less",
113 "recovery/ext.oauth.recovery.less"
114 ],
115 "codexStyleOnly": "true",
116 "codexComponents": [
117 "CdxButton",
118 "CdxIcon"
119 ]
120 },
121 "ext.oath": {
122 "packageFiles": [
123 "recovery/ext.oath.recovery.copy.js"
124 ],
125 "messages": [
126 "oathauth-recoverycodes-copy-success"
127 ]
128 }
129 },
130 "ResourceFileModulePaths": {
131 "localBasePath": "modules",
132 "remoteExtPath": "OATHAuth/modules"
133 },
134 "SpecialPages": {
135 "DisableOATHForUser": {
136 "class": "\\MediaWiki\\Extension\\OATHAuth\\Special\\DisableOATHForUser",
137 "services": [
138 "OATHUserRepository",
139 "UserFactory",
140 "CentralIdLookup"
141 ]
142 },
143 "OATHManage": {
144 "class": "\\MediaWiki\\Extension\\OATHAuth\\Special\\OATHManage",
145 "services": [
146 "OATHUserRepository",
147 "OATHAuthModuleRegistry"
148 ]
149 },
150 "VerifyOATHForUser": {
151 "class": "\\MediaWiki\\Extension\\OATHAuth\\Special\\VerifyOATHForUser",
152 "services": [
153 "OATHUserRepository",
154 "UserFactory",
155 "CentralIdLookup"
156 ]
157 }
158 },
159 "AvailableRights": [
160 "oathauth-enable",
161 "oathauth-api-all",
162 "oathauth-disable-for-user",
163 "oathauth-verify-user",
164 "oathauth-view-log"
165 ],
166 "GroupPermissions": {
167 "*": {
168 "oathauth-disable-for-user": false,
169 "oathauth-view-log": false
170 },
171 "user": {
172 "oathauth-enable": true
173 },
174 "sysop": {
175 "oathauth-disable-for-user": true,
176 "oathauth-verify-user": true,
177 "oathauth-view-log": true
178 }
179 },
180 "GrantPermissions": {
181 "oath": {
182 "oathauth-api-all": true,
183 "oathauth-verify-user": true
184 }
185 },
186 "GrantPermissionGroups": {
187 "oath": "authentication"
188 },
189 "GrantRiskGroups": {
190 "oath": "internal"
191 },
192 "APIModules": {
193 "oathvalidate": {
194 "class": "\\MediaWiki\\Extension\\OATHAuth\\Api\\Module\\ApiOATHValidate",
195 "services": [
196 "OATHUserRepository",
197 "UserFactory"
198 ]
199 }
200 },
201 "APIMetaModules": {
202 "oath": {
203 "class": "\\MediaWiki\\Extension\\OATHAuth\\Api\\Module\\ApiQueryOATH",
204 "services": [
205 "OATHUserRepository"
206 ]
207 }
208 },
209 "RateLimits": {
210 "badoath": {
211 "&can-bypass": false,
212 "user": [
213 10,
214 60
215 ],
216 "user-global": [
217 10,
218 60
219 ]
220 },
221 "disableoath": {
222 "&can-bypass": false,
223 "user": [
224 5,
225 60
226 ],
227 "user-global": [
228 5,
229 60
230 ]
231 },
232 "verify-2fa": {
233 "&can-bypass": false,
234 "user": [
235 5,
236 60
237 ],
238 "user-global": [
239 5,
240 60
241 ]
242 }
243 },
244 "load_composer_autoloader": true,
245 "LogTypes": [
246 "oath"
247 ],
248 "LogNames": {
249 "oath": "oath-log-name"
250 },
251 "LogHeaders": {
252 "oath": "oath-log-header"
253 },
254 "LogActionsHandlers": {
255 "oath/*": "LogFormatter"
256 },
257 "LogRestrictions": {
258 "oath": "oathauth-view-log"
259 },
260 "ActionFilteredLogs": {
261 "oath": {
262 "verify": [
263 "verify"
264 ],
265 "disable-other": [
266 "disable-other"
267 ]
268 }
269 },
270 "DatabaseVirtualDomains": [
271 "virtual-oathauth"
272 ],
273 "manifest_version": 2
274 }