mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-28 02:00:06 +00:00
ff233b3e97
Production code in another extension depends on the existence of this hook. Bug: T131445 Change-Id: I3844150801f724f3eb217dc16c26cb76a58aedd8
82 lines
1.8 KiB
JSON
82 lines
1.8 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",
|
|
"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"
|
|
},
|
|
"ExtensionMessagesFiles": {
|
|
"OATHAuthAlias": "OATHAuth.alias.php"
|
|
},
|
|
"Hooks": {
|
|
"AbortChangePassword": [
|
|
"OATHAuthHooks::AbortChangePassword"
|
|
],
|
|
"AbortLogin": [
|
|
"OATHAuthHooks::AbortLogin"
|
|
],
|
|
"ChangePasswordForm": [
|
|
"OATHAuthHooks::ChangePasswordForm"
|
|
],
|
|
"TwoFactorIsEnabled": [
|
|
"OATHAuthHooks::TwoFactorIsEnabled"
|
|
],
|
|
"LoadExtensionSchemaUpdates": [
|
|
"OATHAuthHooks::OATHAuthSchemaUpdates"
|
|
],
|
|
"GetPreferences": [
|
|
"OATHAuthHooks::manageOATH"
|
|
]
|
|
},
|
|
"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
|
|
}
|