mediawiki-extensions-OATHAuth/extension.json
Reedy 62d83ab1e6 Bump version to 0.3.0
Change-Id: If1dd738cba260a4270f943b1b98610d47f2023bd
2019-06-19 13:28:43 +01:00

159 lines
3.5 KiB
JSON

{
"name": "OATHAuth",
"version": "0.3.0",
"author": "Ryan Lane",
"url": "https://www.mediawiki.org/wiki/Extension:OATHAuth",
"descriptionmsg": "oathauth-desc",
"type": "other",
"requires": {
"MediaWiki": ">= 1.32.0"
},
"license-name": "GPL-2.0-or-later AND GPL-3.0-or-later",
"attributes": {
"OATHAuth": {
"Modules": {
"totp": "\\MediaWiki\\Extension\\OATHAuth\\Module\\TOTP::factory"
}
}
},
"AutoloadClasses": {
"ApiOATHValidate": "includes/api/ApiOATHValidate.php",
"ApiQueryOATH": "includes/api/ApiQueryOATH.php",
"OATHAuthHooks": "includes/OATHAuthHooks.php",
"OATHAuthUtils": "includes/OATHAuthUtils.php",
"SpecialOATH": "includes/special/SpecialOATH.php",
"SpecialDisableOATHForUser": "includes/special/SpecialDisableOATHForUser.php",
"ProxySpecialPage": "includes/special/ProxySpecialPage.php",
"TOTPAuthenticationRequest": "includes/auth/TOTPAuthenticationRequest.php",
"TOTPSecondaryAuthenticationProvider": "includes/auth/TOTPSecondaryAuthenticationProvider.php"
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\OATHAuth\\": "src/"
},
"AuthManagerAutoConfig": {
"secondaryauth": {
"OATHSecondaryAuthenticationProvider":{
"class": "\\MediaWiki\\Extension\\OATHAuth\\Auth\\SecondaryAuthenticationProvider",
"sort": 50
}
}
},
"ServiceWiringFiles": [
"includes/ServiceWiring.php"
],
"ExtensionMessagesFiles": {
"OATHAuthAlias": "OATHAuth.alias.php"
},
"Hooks": {
"AuthChangeFormFields": [
"\\MediaWiki\\Extension\\OATHAuth\\Hook\\AuthChangeFormFields\\TOTPExtendTokenField::callback"
],
"TwoFactorIsEnabled": [
"OATHAuthHooks::onTwoFactorIsEnabled"
],
"LoadExtensionSchemaUpdates": [
"OATHAuthHooks::onLoadExtensionSchemaUpdates"
],
"GetPreferences": [
"\\MediaWiki\\Extension\\OATHAuth\\Hook\\GetPreferences\\AuthModule::callback"
]
},
"MessagesDirs": {
"OATHAuth": [
"i18n"
]
},
"config": {
"OATHAuthWindowRadius": {
"value": 4
},
"OATHAuthDatabase": {
"value": false
},
"OATHAuthSecret": {
"value": false
},
"OATHAuthAccountPrefix": {
"value": false
}
},
"ResourceModules": {
"ext.oath.totp.showqrcode": {
"scripts": [
"totp/jquery.qrcode.js",
"totp/qrcode.js",
"totp/ext.oath.showqrcode.js"
]
},
"ext.oath.totp.showqrcode.styles": {
"styles": [
"totp/ext.oath.showqrcode.styles.css"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "OATHAuth/modules"
},
"SpecialPages": {
"OATH": "SpecialOATH",
"DisableOATHForUser": "SpecialDisableOATHForUser",
"OATHManage": "\\MediaWiki\\Extension\\OATHAuth\\Special\\OATHManage"
},
"AvailableRights": [
"oathauth-enable",
"oathauth-api-all",
"oathauth-disable-for-user",
"oathauth-view-log"
],
"GroupPermissions": {
"*": {
"oathauth-enable": true,
"oathauth-disable-for-user": false,
"oathauth-view-log": false
},
"sysop": {
"oathauth-disable-for-user": true,
"oathauth-view-log": true
}
},
"GrantPermissions": {
"oath": {
"oathauth-api-all": true
}
},
"GrantPermissionGroups": {
"oath": "authentication"
},
"APIModules": {
"oathvalidate": "ApiOATHValidate"
},
"APIMetaModules": {
"oath": "ApiQueryOATH"
},
"RateLimits": {
"badoath": {
"&can-bypass": false,
"user": [
10,
60
]
}
},
"load_composer_autoloader": true,
"LogTypes": [ "oath" ],
"LogNames": {
"oath": "oath-log-name"
},
"LogHeaders": {
"oath": "oath-log-header"
},
"LogActionsHandlers": {
"oath/*": "LogFormatter"
},
"LogRestrictions": {
"oath": "oathauth-view-log"
},
"manifest_version": 2
}