mirror of
https://github.com/openziti/ziti.git
synced 2026-09-24 11:26:27 +00:00
65 lines
1.4 KiB
JSON
65 lines
1.4 KiB
JSON
{
|
|
"$id": "http://ziti-edge.netfoundry.io/schemas/authenticator.post.json",
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": [
|
|
"method",
|
|
"certPem",
|
|
"identityId"
|
|
],
|
|
"properties": {
|
|
"method": {
|
|
"type": [
|
|
"string"
|
|
],
|
|
"enum": [
|
|
"cert"
|
|
]
|
|
},
|
|
"certPem": {
|
|
"type": "string"
|
|
},
|
|
"identityId": {
|
|
"$ref": "definitions.all.json#/definitions/id"
|
|
},
|
|
"tags": {
|
|
"$ref": "definitions.all.json#/definitions/tags-null"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": [
|
|
"method",
|
|
"username",
|
|
"password",
|
|
"identityId"
|
|
],
|
|
"properties": {
|
|
"method": {
|
|
"type": [
|
|
"string"
|
|
],
|
|
"enum": [
|
|
"updb"
|
|
]
|
|
},
|
|
"username": {
|
|
"$ref": "definitions.all.json#/definitions/username"
|
|
},
|
|
"password": {
|
|
"$ref": "definitions.all.json#/definitions/password"
|
|
},
|
|
"identityId": {
|
|
"$ref": "definitions.all.json#/definitions/id"
|
|
},
|
|
"tags": {
|
|
"$ref": "definitions.all.json#/definitions/tags-null"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |