mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-12 09:37:23 +00:00
a24d6adfbf
During the two-step login, users with OATH enabled need to have their login details saved into their session while we prompt them for their OATH code. This encrypts that data, so we don't write their user's password into our session storage. Change-Id: I9969871205ac5c438706df41ef1519cb4cd7a964
79 lines
1.7 KiB
JSON
79 lines
1.7 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"
|
|
],
|
|
"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
|
|
}
|