-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathappwrite.config.json
More file actions
95 lines (95 loc) · 3.41 KB
/
Copy pathappwrite.config.json
File metadata and controls
95 lines (95 loc) · 3.41 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"projectId": "customtoken",
"endpoint": "https://fra.cloud.appwrite.io/v1",
"projectName": "customtoken",
"settings": {
"services": {
"account": true,
"avatars": true,
"databases": true,
"locale": true,
"health": true,
"storage": true,
"teams": true,
"users": true,
"sites": true,
"functions": true,
"graphql": true,
"messaging": true
},
"auth": {
"methods": {
"jwt": true,
"phone": true,
"invites": true,
"anonymous": true,
"email-otp": true,
"magic-url": true,
"email-password": true
},
"security": {
"duration": 31536000,
"limit": 0,
"sessionsLimit": 10,
"passwordHistory": 0,
"passwordDictionary": false,
"personalDataCheck": false,
"sessionAlerts": false,
"mockNumbers": []
}
}
},
"databases": [
{
"$id": "webauthnDB",
"name": "WebAuthn",
"enabled": true
}
],
"collections": [
{
"$id": "webauthnCredentials",
"databaseId": "webauthnDB",
"name": "Credentials",
"enabled": true,
"documentSecurity": false,
"attributes": [
{ "key": "userId", "type": "string", "required": true, "array": false, "size": 256, "default": null, "encrypt": true },
{ "key": "publicKey", "type": "string", "required": true, "array": false, "size": 5000, "default": null, "encrypt": true },
{ "key": "counter", "type": "integer", "required": false, "array": false, "min": -9223372036854775808, "max": 9223372036854775807, "default": 0 },
{ "key": "createdAt", "type": "datetime", "required": false, "array": false, "format": "", "default": null },
{ "key": "updatedAt", "type": "datetime", "required": false, "array": false, "format": "", "default": null }
],
"indexes": [
{
"key": "userId_index",
"type": "key",
"status": "available",
"attributes": ["userId"],
"orders": ["ASC"]
}
]
},
{
"$id": "webauthnChallenges",
"databaseId": "webauthnDB",
"name": "Challenges",
"enabled": true,
"documentSecurity": false,
"attributes": [
{ "key": "userId", "type": "string", "required": true, "array": false, "size": 256, "default": null, "encrypt": true },
{ "key": "challenge", "type": "string", "required": true, "array": false, "size": 512, "default": null, "encrypt": true },
{ "key": "createdAt", "type": "datetime", "required": false, "array": false, "format": "", "default": null }
],
"indexes": [
{
"key": "createdAt_index",
"type": "key",
"status": "available",
"attributes": ["createdAt"],
"orders": ["ASC"]
}
]
}
]
}