BrowserAuthSession
Тип: object additionalProperties: false
| Поле | Обязательное | Тип | Описание и ограничения |
|---|---|---|---|
mode | Да | string | enum: ["api_only","saml","anonymous"] |
authenticated | Да | boolean | |
read_access | Да | boolean | |
user | Да | object / null | additionalProperties: false |
expires_at | Да | string / null | format: "date-time" |
JSON Schema
json
{
"type": "object",
"additionalProperties": false,
"required": [
"mode",
"authenticated",
"read_access",
"user",
"expires_at"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"api_only",
"saml",
"anonymous"
]
},
"authenticated": {
"type": "boolean"
},
"read_access": {
"type": "boolean"
},
"user": {
"type": [
"object",
"null"
],
"additionalProperties": false,
"required": [
"display_name"
],
"properties": {
"display_name": {
"type": "string"
}
}
},
"expires_at": {
"type": [
"string",
"null"
],
"format": "date-time"
}
}
}