Merge "registration: Support Change/RemoveCredentialsBlacklist in extension.json"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 24 Jun 2016 14:34:06 +0000 (14:34 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 24 Jun 2016 14:34:06 +0000 (14:34 +0000)
docs/extension.schema.json
includes/registration/ExtensionProcessor.php

index 1fccf17..c69cbe3 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 2205f95..f1f7c2e 100644 (file)
@@ -28,6 +28,8 @@ class ExtensionProcessor implements Processor {
                'SessionProviders',
                'AuthManagerAutoConfig',
                'CentralIdLookupProviders',
+               'ChangeCredentialsBlacklist',
+               'RemoveCredentialsBlacklist',
                'RateLimits',
                'RecentChangesFlags',
                'MediaHandlers',