You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Authorization Practice.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,15 +156,15 @@ matching resource role paths. These represent device model role paths and MUST b
156
156
For example, offering read access to the IS-12 receiver monitor object identified by a role path of 'root.receiver-monitors.monitor-01' only would require the following token claim.
157
157
158
158
```
159
-
"x-nmos-control": {
159
+
"x-nmos-ncp": {
160
160
"read": ["root.receiver-monitors.monitor-01"]
161
161
}
162
162
```
163
163
164
164
Alternatively, offering read access to all IS-12 device model objects may be given with the following token claim which uses the wildcard '*'.
165
165
166
166
```
167
-
"x-nmos-control": {
167
+
"x-nmos-ncp": {
168
168
"read": ["root.*"]
169
169
}
170
170
```
@@ -176,7 +176,7 @@ Access to invoke object methods MUST only be given if the token claim includes a
176
176
The following is a token claim example which offers access to modify properties and invoke methods on the receiver monitor object identified by a role path of 'root.receiver-monitors.monitor-01'.
177
177
178
178
```
179
-
"x-nmos-control": {
179
+
"x-nmos-ncp": {
180
180
"read": ["root.receiver-monitors.monitor-01"],
181
181
"write": ["root.receiver-monitors.monitor-01"]
182
182
}
@@ -185,7 +185,7 @@ The following is a token claim example which offers access to modify properties
185
185
The following is a token claim example which uses the wildcard '*' and offers access to modify properties and invoke methods on any device model object.
186
186
187
187
```
188
-
"x-nmos-control": {
188
+
"x-nmos-ncp": {
189
189
"read": ["root.*"],
190
190
"write": ["root.*"]
191
191
}
@@ -194,7 +194,7 @@ The following is a token claim example which uses the wildcard '*' and offers ac
194
194
A token claim could also offer asymmetrical access like in the following example which only allows write access to a specific path, whilst allowing the entire device model to be read.
195
195
196
196
```
197
-
"x-nmos-control": {
197
+
"x-nmos-ncp": {
198
198
"read": ["root.*"],
199
199
"write": ["root.receiver-monitors.monitor-01"]
200
200
}
@@ -210,15 +210,15 @@ matching resource role paths. These represent device model role paths and MUST b
210
210
For example, offering read access to an IS-14 object identified by a role path of 'root.example-controls.control-01' only would require the following token claim.
211
211
212
212
```
213
-
"x-nmos-control": {
213
+
"x-nmos-configuration": {
214
214
"read": ["root.example-controls.control-01"]
215
215
}
216
216
```
217
217
218
218
Alternatively, offering read access to all IS-14 device model objects may be given with the following token claim which uses the wildcard '*'.
219
219
220
220
```
221
-
"x-nmos-control": {
221
+
"x-nmos-configuration": {
222
222
"read": ["root.*"]
223
223
}
224
224
```
@@ -230,7 +230,7 @@ Access to invoke object methods MUST only be given if the token claim includes a
230
230
The following is a token claim example which offers access to modify properties and invoke methods on an object identified by a role path of 'root.example-controls.control-01'.
231
231
232
232
```
233
-
"x-nmos-control": {
233
+
"x-nmos-configuration": {
234
234
"read": ["root.example-controls.control-01"],
235
235
"write": ["root.example-controls.control-01"]
236
236
}
@@ -239,7 +239,7 @@ The following is a token claim example which offers access to modify properties
239
239
The following is a token claim example which uses the wildcard '*' and offers access to modify properties and invoke methods on any device model object.
240
240
241
241
```
242
-
"x-nmos-control": {
242
+
"x-nmos-configuration": {
243
243
"read": ["root.*"],
244
244
"write": ["root.*"]
245
245
}
@@ -248,7 +248,7 @@ The following is a token claim example which uses the wildcard '*' and offers ac
248
248
A token claim could also offer asymmetrical access like in the following example which only allows write access to a specific path, whilst allowing the entire device model to be read.
0 commit comments