blob: 2311d83b9f49b62fb6918becfbb1baf63c828c2d [file] [log] [blame]
{
"$id": "http://redfish.dmtf.org/schemas/v1/OemAccountService.v1_0_0.json",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
"copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
"definitions": {
"AccountService": {
"additionalProperties": false,
"description": "OEM Extension for AccountService",
"longDescription": "OEM Extension for AccountService providing info about TLS Auth.",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
"description": "This property shall specify a valid odata or Redfish property.",
"type": [
"array",
"boolean",
"integer",
"number",
"null",
"object",
"string"
]
}
},
"properties": {
"AuthMethods": {
"anyOf": [
{
"$ref": "#/definitions/AuthMethodsConfig"
},
{
"type": "null"
}
],
"description": "Authorization Methods configuration.",
"longDescription": "Configuration describing which auth methods are enabled."
}
},
"type": "object"
},
"AuthMethodsConfig": {
"additionalProperties": false,
"description": "Authorization Methods configuration.",
"longDescription": "Configuration describing which auth methods are enabled.",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
"description": "This property shall specify a valid odata or Redfish property.",
"type": [
"array",
"boolean",
"integer",
"number",
"null",
"object",
"string"
]
}
},
"properties": {
"BasicAuth": {
"description": "Indicates whether BasicAuth authorization is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether BasicAuth authorization is enabled.",
"readonly": false,
"type": [
"boolean",
"null"
]
},
"Cookie": {
"description": "Indicates whether Cookie authorization is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether Cookie authorization is enabled.",
"readonly": false,
"type": [
"boolean",
"null"
]
},
"SessionToken": {
"description": "Indicates whether SessionToken authorization is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether SessionToken authorization is enabled.",
"readonly": false,
"type": [
"boolean",
"null"
]
},
"TLS": {
"description": "Indicates whether TLS authorization is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether TLS authorization is enabled.",
"readonly": false,
"type": [
"boolean",
"null"
]
},
"XToken": {
"description": "Indicates whether XToken authorization is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether XToken authorization is enabled.",
"readonly": false,
"type": [
"boolean",
"null"
]
}
},
"type": "object"
}
},
"owningEntity": "OpenBMC",
"release": "1.0",
"title": "#OemAccountService.v1_0_0"
}