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
// if (accessDeniedResponse.status !== 403) { log('Access request succeeded without policy...'); throw 0; }
84
+
if(accessDeniedResponse.status!==403){log('Access request succeeded without policy...');throw0;}
89
85
90
86
log(`Without a policy allowing the access, the access is denied.`);
91
87
log(`However, the UMA server enables multiple flows in which such a policy can be added, for example by notifying the resource owner. (This is out-of-scope for this demo.)`);
* @property{string} subject - The identifier of the entity that wants to execute an action on a resource (e.g. a {@link https://solid.github.io/webid-profile/ WebID})
7
-
* @property{string} action - The type of action(s) that the entity wants to perform on the resource (e.g. a CRUD action)
8
-
* @property{string} resource - The resource identifier that is governed by a usage control policy
9
-
* @property{string} context - Extra information supplied (can be the purpose of use, extra claims, ...) | Note: currently not implemented yet
10
-
* @property{string} owner - The owner/providerof the resource (e.g. a {@link https://solid.github.io/webid-profile/ WebID})
6
+
* @property subject - The identifier of the entity that wants to execute an action on a resource (e.g. a {@link https://solid.github.io/webid-profile/ WebID})
7
+
* @property action - The type of action(s) that the entity wants to perform on the resource (e.g. a CRUD action)
8
+
* @property resource - The resource identifier that is governed by a usage control policy
9
+
* @propertyclaims - Extra information supplied (can be the purpose of use, extra claims, ...)
10
+
* @property owner - The owner/providerof the resource (e.g. a {@link https://solid.github.io/webid-profile/ WebID})
11
11
*/
12
12
exportinterfaceUconRequest{
13
13
subject: string;
14
14
action: string[];
15
15
resource: string;
16
-
context?: string;
17
-
owner?: string
16
+
owner?: string;
17
+
claims?: NodeJS.Dict<unknown>;
18
18
}
19
+
19
20
/**
20
21
* Creates an N3 Store based on the context of an UMA Access Request.
21
22
* Currently, the access request also contain ACL access modes.
0 commit comments