add test files for auth middleware

This commit is contained in:
Jakob Schrettenbrunner 2017-07-06 20:49:50 +02:00
parent 0bceb409e5
commit d856081483
3 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,5 @@
{
"authKeys": [
"existingkey"
]
}

View File

@ -0,0 +1,14 @@
{
"uuid": "existingserver",
"keys": {
"existinggkey": [
"g:*"
],
"existingspecificskey": [
"s:test"
],
"existingglobalskey": [
"s:*"
]
}
}

View File

@ -32,5 +32,8 @@
"path": "logs/", "path": "logs/",
"level": "info", "level": "info",
"deleteAfterDays": 100 "deleteAfterDays": 100
} },
"authKeys": [
"somekey"
]
} }