mediawiki-extensions-OATHAuth/extension.json
Gergő Tisza 563796a98c Update for AuthManager
Handling enabling/disabling via AuthManager is left to a separate
patch.

Bug: T110457
Change-Id: Ic492b8f2477c475f8414b61505139e9a1df2ba5b
2016-05-31 19:38:41 +00:00

77 lines
1.9 KiB
JSON

{
"name": "OATHAuth",
"version": "0.2.1",
"author": "Ryan Lane",
"url": "https://www.mediawiki.org/wiki/Extension:OATHAuth",
"descriptionmsg": "oathauth-desc",
"type": "other",
"AutoloadClasses": {
"OATHAuthHooks": "OATHAuth.hooks.php",
"OATHAuthLegacyHooks": "OATHAuth.hooks.legacy.php",
"OATHAuthKey": "OATHAuthKey.php",
"OATHAuthUtils": "OATHAuthUtils.php",
"OATHUserRepository": "OATHUserRepository.php",
"HOTP": "lib/hotp.php",
"HOTPResult": "lib/hotp.php",
"Base32": "lib/base32.php",
"OATHUser": "OATHUser.php",
"SpecialOATH": "special/SpecialOATH.php",
"SpecialOATHEnable": "special/SpecialOATHEnable.php",
"SpecialOATHDisable": "special/SpecialOATHDisable.php",
"SpecialOATHLogin": "special/SpecialOATHLogin.php",
"ProxySpecialPage": "special/ProxySpecialPage.php",
"TOTPAuthenticationRequest": "auth/TOTPAuthenticationRequest.php",
"TOTPSecondaryAuthenticationProvider": "auth/TOTPSecondaryAuthenticationProvider.php"
},
"ExtensionMessagesFiles": {
"OATHAuthAlias": "OATHAuth.alias.php"
},
"callback": "OATHAuthHooks::onRegistration",
"Hooks": {
"TwoFactorIsEnabled": [
"OATHAuthHooks::onTwoFactorIsEnabled"
],
"LoadExtensionSchemaUpdates": [
"OATHAuthHooks::onLoadExtensionSchemaUpdates"
],
"GetPreferences": [
"OATHAuthHooks::onGetPreferences"
]
},
"MessagesDirs": {
"OATHAuth": [
"i18n"
]
},
"config": {
"OATHAuthWindowRadius": 4,
"OATHAuthDatabase": false,
"OATHAuthSecret": false
},
"ResourceModules": {
"ext.oathauth": {
"scripts": [
"modules/jquery.qrcode.js",
"modules/qrcode.js"
],
"position": "top"
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "OATHAuth"
},
"SpecialPages": {
"OATH": "SpecialOATH"
},
"AvailableRights": [
"oathauth-enable"
],
"GroupPermissions": {
"*": {
"oathauth-enable": true
}
},
"manifest_version": 1
}