forked from pmmsc/nodebb-plugin-sso-qq
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.json
executable file
·55 lines (55 loc) · 1.38 KB
/
plugin.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
{
"id": "nodebb-plugin-sso-qq-fix",
"name": "NodeBB QQ SSO",
"description": "NodeBB Plugin that allows users to login/register via their QQ account.",
"url": "https://github.com/NodeBB-China/nodebb-plugin-sso-qq-fix",
"library": "./library.js",
"hooks": [
{
"hook": "static:app.load",
"method": "init"
},
{
"hook": "filter:auth.init",
"method": "getStrategy"
},
{
"hook": "static:user.delete",
"method": "deleteUserData"
},
{
"hook": "filter:auth.list",
"method": "getAssociation"
},
{
"hook": "filter:admin.header.build",
"method": "addMenuItem"
},
{
"hook": "filter:user.listPictures",
"method": "list"
},
{
"hook": "filter:user.getPicture",
"method": "get"
},
{
"hook": "filter:register.interstitial",
"method": "prepareInterstitial"
},
{
"hook": "filter:user.whitelistFields",
"method": "appendUserHashWhitelist"
}
],
"staticDirs": {
"static": "./static"
},
"templates": "static/templates",
"less": [
"static/less/style.less"
],
"acpScripts": [
"static/lib/admin.js"
]
}