registration: Support Change/RemoveCredentialsBlacklist in extension.json
authorGergő Tisza <gtisza@wikimedia.org>
Tue, 14 Jun 2016 21:21:02 +0000 (21:21 +0000)
committerLegoktm <legoktm.wikipedia@gmail.com>
Fri, 24 Jun 2016 13:25:19 +0000 (13:25 +0000)
Change-Id: I4d796a46d99daa8841fcdcbe76dddf9db46af9ed

docs/extension.schema.json
includes/registration/ExtensionProcessor.php

index 1d2b2f0..4eb3135 100644 (file)
                        "type": "object",
                        "description": "Central ID lookup providers"
                },
+               "ChangeCredentialsBlacklist": {
+                       "type": "object",
+                       "description": "AuthenticationRequest classes which can only be used internally for credentials change"
+               },
+               "RemoveCredentialsBlacklist": {
+                       "type": "object",
+                       "description": "AuthenticationRequest classes which can only be used internally for credentials removal"
+               },
                "namespaces": {
                        "type": "array",
                        "description": "Method to add extra namespaces",
index 78f9370..ac9b526 100644 (file)
@@ -26,6 +26,8 @@ class ExtensionProcessor implements Processor {
                'SessionProviders',
                'AuthManagerAutoConfig',
                'CentralIdLookupProviders',
+               'ChangeCredentialsBlacklist',
+               'RemoveCredentialsBlacklist',
                'RateLimits',
                'RecentChangesFlags',
                'MediaHandlers',