mediawiki-extensions-OATHAuth/extension.json

84 lines
2 KiB
JSON
Raw Normal View History

{
"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": [
"jquery.qrcode.js",
"qrcode.js"
]
},
"ext.oath.showqrcode": {
"scripts": [
"ext.oath.showqrcode.js"
],
"dependencies": [
"ext.oathauth"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "OATHAuth"
},
"SpecialPages": {
"OATH": "SpecialOATH"
},
"AvailableRights": [
"oathauth-enable"
],
"GroupPermissions": {
"*": {
"oathauth-enable": true
}
},
"manifest_version": 1
}