blob: 2311d83b9f49b62fb6918becfbb1baf63c828c2d [file] [log] [blame]
Zbigniew Kurzynski78158632019-11-05 12:57:37 +01001{
2 "$id": "http://redfish.dmtf.org/schemas/v1/OemAccountService.v1_0_0.json",
3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
4 "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
5 "definitions": {
6 "AccountService": {
7 "additionalProperties": false,
8 "description": "OEM Extension for AccountService",
9 "longDescription": "OEM Extension for AccountService providing info about TLS Auth.",
10 "patternProperties": {
11 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
12 "description": "This property shall specify a valid odata or Redfish property.",
13 "type": [
14 "array",
15 "boolean",
16 "integer",
17 "number",
18 "null",
19 "object",
20 "string"
21 ]
22 }
23 },
24 "properties": {
25 "AuthMethods": {
26 "anyOf": [
27 {
28 "$ref": "#/definitions/AuthMethodsConfig"
29 },
30 {
31 "type": "null"
32 }
33 ],
34 "description": "Authorization Methods configuration.",
35 "longDescription": "Configuration describing which auth methods are enabled."
36 }
37 },
38 "type": "object"
39 },
40 "AuthMethodsConfig": {
41 "additionalProperties": false,
42 "description": "Authorization Methods configuration.",
43 "longDescription": "Configuration describing which auth methods are enabled.",
44 "patternProperties": {
45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
46 "description": "This property shall specify a valid odata or Redfish property.",
47 "type": [
48 "array",
49 "boolean",
50 "integer",
51 "number",
52 "null",
53 "object",
54 "string"
55 ]
56 }
57 },
58 "properties": {
59 "BasicAuth": {
60 "description": "Indicates whether BasicAuth authorization is enabled.",
61 "longDescription": "The value of this property shall be a boolean indicating whether BasicAuth authorization is enabled.",
62 "readonly": false,
63 "type": [
64 "boolean",
65 "null"
66 ]
67 },
68 "Cookie": {
69 "description": "Indicates whether Cookie authorization is enabled.",
70 "longDescription": "The value of this property shall be a boolean indicating whether Cookie authorization is enabled.",
71 "readonly": false,
72 "type": [
73 "boolean",
74 "null"
75 ]
76 },
77 "SessionToken": {
78 "description": "Indicates whether SessionToken authorization is enabled.",
79 "longDescription": "The value of this property shall be a boolean indicating whether SessionToken authorization is enabled.",
80 "readonly": false,
81 "type": [
82 "boolean",
83 "null"
84 ]
85 },
Zbigniew Kurzynski501f1e52019-10-02 11:22:11 +020086 "TLS": {
87 "description": "Indicates whether TLS authorization is enabled.",
88 "longDescription": "The value of this property shall be a boolean indicating whether TLS authorization is enabled.",
89 "readonly": false,
90 "type": [
91 "boolean",
92 "null"
93 ]
94 },
Zbigniew Kurzynski78158632019-11-05 12:57:37 +010095 "XToken": {
96 "description": "Indicates whether XToken authorization is enabled.",
97 "longDescription": "The value of this property shall be a boolean indicating whether XToken authorization is enabled.",
98 "readonly": false,
99 "type": [
100 "boolean",
101 "null"
102 ]
103 }
104 },
105 "type": "object"
106 }
107 },
108 "owningEntity": "OpenBMC",
109 "release": "1.0",
110 "title": "#OemAccountService.v1_0_0"
111}