first commit
This commit is contained in:
1
gateway/config/models/.pydio
Normal file
1
gateway/config/models/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
dbd3cf03-e067-4aed-9f60-fbd5cc998830
|
||||
16
gateway/config/models/applications.json
Normal file
16
gateway/config/models/applications.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$id": "http://express-gateway.io/models/applications.json",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"redirectUri": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
]
|
||||
}
|
||||
85
gateway/config/models/credentials.json
Normal file
85
gateway/config/models/credentials.json
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"$id": "http://express-gateway.io/models/credentials.json",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
"credentialBase": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"autoGeneratePassword": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"scopes": {
|
||||
"type": [
|
||||
"string",
|
||||
"array"
|
||||
],
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"autoGeneratePassword"
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"basic-auth": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/credentialBase"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"passwordKey": {
|
||||
"type": "string",
|
||||
"default": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"passwordKey"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"key-auth": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"scopes": {
|
||||
"type": [
|
||||
"string",
|
||||
"array"
|
||||
],
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"jwt": {
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
},
|
||||
"oauth2": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/credentialBase"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"passwordKey": {
|
||||
"type": "string",
|
||||
"default": "secret"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"passwordKey"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
28
gateway/config/models/users.json
Normal file
28
gateway/config/models/users.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"$id": "http://express-gateway.io/models/users.json",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"firstname": {
|
||||
"type": "string"
|
||||
},
|
||||
"lastname": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"email": {
|
||||
"type": "string",
|
||||
"format": "email"
|
||||
},
|
||||
"redirectUri": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"username",
|
||||
"firstname",
|
||||
"lastname"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user