mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-01-21 19:25:43 +00:00
- use existing access mechanisms for validation - adds swagger/schema and validation of incoming payload
19 lines
504 B
JSON
19 lines
504 B
JSON
{
|
|
"type": "object",
|
|
"description": "Token object",
|
|
"required": ["requires_2fa", "challenge_token"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"requires_2fa": {
|
|
"description": "Whether this token request requires two-factor authentication",
|
|
"example": true,
|
|
"type": "boolean"
|
|
},
|
|
"challenge_token": {
|
|
"description": "Challenge Token used in subsequent 2FA verification",
|
|
"example": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.ey...xaHKYr3Kk6MvkUjcC4",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|