2015-12-17 21:09:57 +00:00
|
|
|
{
|
|
|
|
"name": "OATHAuth",
|
2019-10-23 14:45:50 +00:00
|
|
|
"version": "0.4.4",
|
2019-05-15 06:04:12 +00:00
|
|
|
"author": [
|
|
|
|
"Ryan Lane",
|
|
|
|
"Robert Vogel <vogel@hallowelt.com>",
|
|
|
|
"Dejan Savuljesku <savuljesku@hallowelt.com>"
|
|
|
|
],
|
2016-01-19 22:13:44 +00:00
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:OATHAuth",
|
2015-12-17 21:09:57 +00:00
|
|
|
"descriptionmsg": "oathauth-desc",
|
|
|
|
"type": "other",
|
2016-11-12 02:48:49 +00:00
|
|
|
"requires": {
|
2018-09-26 23:15:51 +00:00
|
|
|
"MediaWiki": ">= 1.32.0"
|
2016-11-12 02:48:49 +00:00
|
|
|
},
|
2018-04-11 01:29:26 +00:00
|
|
|
"license-name": "GPL-2.0-or-later AND GPL-3.0-or-later",
|
2019-03-14 14:39:10 +00:00
|
|
|
"attributes": {
|
|
|
|
"OATHAuth": {
|
|
|
|
"Modules": {
|
|
|
|
"totp": "\\MediaWiki\\Extension\\OATHAuth\\Module\\TOTP::factory"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"AutoloadNamespaces": {
|
2019-12-30 23:47:41 +00:00
|
|
|
"MediaWiki\\Extension\\OATHAuth\\": "src/"
|
|
|
|
},
|
|
|
|
"TestAutoloadNamespaces": {
|
2019-05-14 12:22:36 +00:00
|
|
|
"MediaWiki\\Extension\\OATHAuth\\Tests\\": "tests/phpunit/"
|
2019-03-14 14:39:10 +00:00
|
|
|
},
|
2016-10-11 23:47:01 +00:00
|
|
|
"AuthManagerAutoConfig": {
|
|
|
|
"secondaryauth": {
|
2019-03-14 14:39:10 +00:00
|
|
|
"OATHSecondaryAuthenticationProvider":{
|
|
|
|
"class": "\\MediaWiki\\Extension\\OATHAuth\\Auth\\SecondaryAuthenticationProvider",
|
2016-10-11 23:47:01 +00:00
|
|
|
"sort": 50
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2019-03-14 14:39:10 +00:00
|
|
|
"ServiceWiringFiles": [
|
2019-05-14 12:22:36 +00:00
|
|
|
"ServiceWiring.php"
|
2019-03-14 14:39:10 +00:00
|
|
|
],
|
2015-12-17 21:09:57 +00:00
|
|
|
"ExtensionMessagesFiles": {
|
|
|
|
"OATHAuthAlias": "OATHAuth.alias.php"
|
|
|
|
},
|
|
|
|
"Hooks": {
|
2020-03-11 10:49:07 +00:00
|
|
|
"AuthChangeFormFields": "\\MediaWiki\\Extension\\OATHAuth\\Hook\\AuthChangeFormFields\\TOTPExtendTokenField::callback",
|
|
|
|
"TwoFactorIsEnabled": "\\MediaWiki\\Extension\\OATHAuth\\Hook\\TwoFactorIsEnabled\\SetIsEnabled::callback",
|
|
|
|
"LoadExtensionSchemaUpdates": "\\MediaWiki\\Extension\\OATHAuth\\Hook\\LoadExtensionSchemaUpdates\\UpdateTables::callback",
|
|
|
|
"GetPreferences": "\\MediaWiki\\Extension\\OATHAuth\\Hook\\GetPreferences\\AuthModule::callback",
|
|
|
|
"getUserPermissionsErrors": "\\MediaWiki\\Extension\\OATHAuth\\Hook\\GetUserPermissionsErrors\\CheckExclusiveRights::callback"
|
2015-12-17 21:09:57 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"OATHAuth": [
|
2019-07-04 11:26:14 +00:00
|
|
|
"i18n",
|
|
|
|
"i18n/api"
|
2015-12-17 21:09:57 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"config": {
|
2019-03-14 14:39:10 +00:00
|
|
|
"OATHAuthWindowRadius": {
|
|
|
|
"value": 4
|
|
|
|
},
|
|
|
|
"OATHAuthDatabase": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"OATHAuthSecret": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"OATHAuthAccountPrefix": {
|
|
|
|
"value": false
|
2019-05-29 11:24:56 +00:00
|
|
|
},
|
|
|
|
"OATHExclusiveRights": {
|
|
|
|
"value": []
|
2019-03-14 14:39:10 +00:00
|
|
|
}
|
2015-12-17 21:09:57 +00:00
|
|
|
},
|
|
|
|
"ResourceModules": {
|
2019-03-14 14:39:10 +00:00
|
|
|
"ext.oath.totp.showqrcode": {
|
2016-06-20 07:34:42 +00:00
|
|
|
"scripts": [
|
2019-03-14 14:39:10 +00:00
|
|
|
"totp/jquery.qrcode.js",
|
|
|
|
"totp/qrcode.js",
|
|
|
|
"totp/ext.oath.showqrcode.js"
|
2016-06-20 07:34:42 +00:00
|
|
|
]
|
2016-11-14 05:18:06 +00:00
|
|
|
},
|
2019-03-14 14:39:10 +00:00
|
|
|
"ext.oath.totp.showqrcode.styles": {
|
2016-11-14 05:18:06 +00:00
|
|
|
"styles": [
|
2019-03-14 14:39:10 +00:00
|
|
|
"totp/ext.oath.showqrcode.styles.css"
|
2016-11-14 05:18:06 +00:00
|
|
|
]
|
2015-12-17 21:09:57 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"ResourceFileModulePaths": {
|
2016-06-20 07:34:42 +00:00
|
|
|
"localBasePath": "modules",
|
2019-04-24 10:08:23 +00:00
|
|
|
"remoteExtPath": "OATHAuth/modules"
|
2015-12-17 21:09:57 +00:00
|
|
|
},
|
|
|
|
"SpecialPages": {
|
2019-05-14 12:22:36 +00:00
|
|
|
"DisableOATHForUser": "\\MediaWiki\\Extension\\OATHAuth\\Special\\DisableOATHForUser",
|
2020-02-15 08:57:20 +00:00
|
|
|
"VerifyOATHForUser": "\\MediaWiki\\Extension\\OATHAuth\\Special\\VerifyOATHForUser",
|
2019-03-14 14:39:10 +00:00
|
|
|
"OATHManage": "\\MediaWiki\\Extension\\OATHAuth\\Special\\OATHManage"
|
2015-12-17 21:09:57 +00:00
|
|
|
},
|
2015-05-26 00:08:47 +00:00
|
|
|
"AvailableRights": [
|
2016-09-29 21:31:09 +00:00
|
|
|
"oathauth-enable",
|
2018-05-20 16:46:53 +00:00
|
|
|
"oathauth-api-all",
|
2019-04-06 22:30:51 +00:00
|
|
|
"oathauth-disable-for-user",
|
2020-02-15 08:57:20 +00:00
|
|
|
"oathauth-verify-user",
|
2019-04-06 22:30:51 +00:00
|
|
|
"oathauth-view-log"
|
2015-05-26 00:08:47 +00:00
|
|
|
],
|
|
|
|
"GroupPermissions": {
|
|
|
|
"*": {
|
2019-04-06 22:30:51 +00:00
|
|
|
"oathauth-disable-for-user": false,
|
|
|
|
"oathauth-view-log": false
|
2018-05-20 16:46:53 +00:00
|
|
|
},
|
2020-03-23 02:32:42 +00:00
|
|
|
"user": {
|
|
|
|
"oathauth-enable": true
|
|
|
|
},
|
2018-05-20 16:46:53 +00:00
|
|
|
"sysop": {
|
2019-04-06 22:30:51 +00:00
|
|
|
"oathauth-disable-for-user": true,
|
2020-02-15 08:57:20 +00:00
|
|
|
"oathauth-verify-user": true,
|
2019-04-06 22:30:51 +00:00
|
|
|
"oathauth-view-log": true
|
2015-05-26 00:08:47 +00:00
|
|
|
}
|
|
|
|
},
|
2016-09-29 21:31:09 +00:00
|
|
|
"GrantPermissions": {
|
|
|
|
"oath": {
|
|
|
|
"oathauth-api-all": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"GrantPermissionGroups": {
|
|
|
|
"oath": "authentication"
|
|
|
|
},
|
2016-09-30 03:12:03 +00:00
|
|
|
"APIModules": {
|
2019-05-14 12:22:36 +00:00
|
|
|
"oathvalidate": "\\MediaWiki\\Extension\\OATHAuth\\Api\\Module\\ApiOATHValidate"
|
2016-09-30 03:12:03 +00:00
|
|
|
},
|
2016-09-29 21:31:09 +00:00
|
|
|
"APIMetaModules": {
|
2019-05-14 12:22:36 +00:00
|
|
|
"oath": "\\MediaWiki\\Extension\\OATHAuth\\Api\\Module\\ApiQueryOATH"
|
2016-09-29 21:31:09 +00:00
|
|
|
},
|
2016-09-30 03:12:03 +00:00
|
|
|
"RateLimits": {
|
|
|
|
"badoath": {
|
2016-10-03 04:32:30 +00:00
|
|
|
"&can-bypass": false,
|
2016-09-30 03:12:03 +00:00
|
|
|
"user": [
|
|
|
|
10,
|
|
|
|
60
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2019-09-11 08:29:43 +00:00
|
|
|
"ReauthenticateTime": {
|
|
|
|
"oathauth-enable": 60
|
|
|
|
},
|
2018-11-02 08:34:44 +00:00
|
|
|
"load_composer_autoloader": true,
|
2019-04-06 22:30:51 +00:00
|
|
|
"LogTypes": [ "oath" ],
|
|
|
|
"LogNames": {
|
|
|
|
"oath": "oath-log-name"
|
|
|
|
},
|
|
|
|
"LogHeaders": {
|
|
|
|
"oath": "oath-log-header"
|
|
|
|
},
|
|
|
|
"LogActionsHandlers": {
|
|
|
|
"oath/*": "LogFormatter"
|
|
|
|
},
|
|
|
|
"LogRestrictions": {
|
|
|
|
"oath": "oathauth-view-log"
|
|
|
|
},
|
2019-03-14 14:39:10 +00:00
|
|
|
"manifest_version": 2
|
2015-12-17 21:09:57 +00:00
|
|
|
}
|