-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextension.json
67 lines (67 loc) · 1.95 KB
/
extension.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "ExternalDatabaseAuth",
"version": "0.1.1",
"author": "Wolfgang Hochleitner",
"url": "https://github.com/hochleitner/ExternalDatabaseAuth",
"description": "An extension to allow authentication against an external MySQL/MariaDB database",
"license-name": "GPL-2.0-or-later",
"type": "other",
"requires": {
"MediaWiki": ">= 1.29.0"
},
"AutoloadClasses": {
"ExternalDatabaseAuth\\ExternalDatabaseAuth": "includes/ExternalDatabaseAuth.php"
},
"AuthManagerAutoConfig": {
"primaryauth": {
"ExternalDatabaseAuth": {
"class": "ExternalDatabaseAuth\\ExternalDatabaseAuth",
"args": [
{
"authoritative": false
}
],
"sort": 50
}
}
},
"MessagesDirs": {
"ExternalDatabaseAuth": [
"i18n"
]
},
"config": {
"ExternalDatabaseAuthTest": {
"value": "test",
"description": "Some test value"
},
"ExternalDatabaseAuthDatabase": {
"value": {
"host": "localhost",
"user": false,
"password": false,
"database": false,
"tablePrefix": ""
},
"description": "Connection details for the external database, that stores the login information."
},
"ExternalDatabaseAuthFields": {
"value": {
"table": false,
"userLogin": false,
"userPassword": false,
"userEmail": false,
"userRealName": false
},
"description": "Information about the table and the field names that store the information about the users"
},
"ExternalDatabaseAuthHash": {
"value": "bcrypt",
"description": "Tells the extension the hashing algorithms that was used with your passwords. Accepts the following: bcrypt, argon2i, argon2id (which will use password_verify) or any string value supported by PHP's hash() function."
}
},
"ConfigRegistry": {
"ExternalDatabaseAuth": "GlobalVarConfig::newInstance"
},
"manifest_version": 2
}