mediawiki-extensions-OATHAuth/extension.json
Kunal Mehta e3fc6fdd94 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Ia282470aefef930bd867de521f9c45ded8349193
2018-03-02 15:27:50 -08:00

121 lines
2.6 KiB
JSON

{
"name": "OATHAuth",
"version": "0.2.2",
"author": "Ryan Lane",
"url": "https://www.mediawiki.org/wiki/Extension:OATHAuth",
"descriptionmsg": "oathauth-desc",
"type": "other",
"requires": {
"MediaWiki": ">= 1.31.0"
},
"license-name": "GPL-2.0-or-later",
"AutoloadClasses": {
"ApiOATHValidate": "api/ApiOATHValidate.php",
"ApiQueryOATH": "api/ApiQueryOATH.php",
"OATHAuthHooks": "OATHAuthHooks.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",
"ProxySpecialPage": "special/ProxySpecialPage.php",
"TOTPAuthenticationRequest": "auth/TOTPAuthenticationRequest.php",
"TOTPSecondaryAuthenticationProvider": "auth/TOTPSecondaryAuthenticationProvider.php"
},
"AuthManagerAutoConfig": {
"secondaryauth": {
"TOTPSecondaryAuthenticationProvider":{
"class": "TOTPSecondaryAuthenticationProvider",
"sort": 50
}
}
},
"ExtensionMessagesFiles": {
"OATHAuthAlias": "OATHAuth.alias.php"
},
"Hooks": {
"AuthChangeFormFields": [
"OATHAuthHooks::onAuthChangeFormFields"
],
"TwoFactorIsEnabled": [
"OATHAuthHooks::onTwoFactorIsEnabled"
],
"LoadExtensionSchemaUpdates": [
"OATHAuthHooks::onLoadExtensionSchemaUpdates"
],
"GetPreferences": [
"OATHAuthHooks::onGetPreferences"
]
},
"MessagesDirs": {
"OATHAuth": [
"i18n"
]
},
"config": {
"OATHAuthWindowRadius": 4,
"OATHAuthDatabase": false,
"OATHAuthSecret": false,
"OATHAuthAccountPrefix": false
},
"ResourceModules": {
"ext.oath.showqrcode": {
"scripts": [
"jquery.qrcode.js",
"qrcode.js",
"ext.oath.showqrcode.js"
]
},
"ext.oath.showqrcode.styles": {
"styles": [
"ext.oath.showqrcode.styles.css"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "OATHAuth"
},
"SpecialPages": {
"OATH": "SpecialOATH"
},
"AvailableRights": [
"oathauth-enable",
"oathauth-api-all"
],
"GroupPermissions": {
"*": {
"oathauth-enable": true
}
},
"GrantPermissions": {
"oath": {
"oathauth-api-all": true
}
},
"GrantPermissionGroups": {
"oath": "authentication"
},
"APIModules": {
"oathvalidate": "ApiOATHValidate"
},
"APIMetaModules": {
"oath": "ApiQueryOATH"
},
"RateLimits": {
"badoath": {
"&can-bypass": false,
"user": [
10,
60
]
}
},
"manifest_version": 1
}