mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
deploy: 409782c205
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>WebAclAuthorizer | Community Solid Server - v0.4.0</title>
|
||||
<meta name="description" content="Documentation for Community Solid Server - v0.4.0">
|
||||
<title>WebAclAuthorizer | Community Solid Server - v0.4.1</title>
|
||||
<meta name="description" content="Documentation for Community Solid Server - v0.4.1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="../assets/css/main.css">
|
||||
<script async src="../assets/js/search.js" id="search-script"></script>
|
||||
@@ -23,7 +23,7 @@
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li>
|
||||
</ul>
|
||||
<a href="../index.html" class="title">Community Solid Server - v0.4.0</a>
|
||||
<a href="../index.html" class="title">Community Solid Server - v0.4.1</a>
|
||||
</div>
|
||||
<div class="table-cell" id="tsd-widgets">
|
||||
<div id="tsd-filter">
|
||||
@@ -52,7 +52,7 @@
|
||||
<div class="container">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li>
|
||||
<a href="../modules.html">Community Solid Server - v0.4.0</a>
|
||||
<a href="../modules.html">Community Solid Server - v0.4.1</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../modules/index.html">index</a>
|
||||
@@ -117,6 +117,7 @@
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.webaclauthorizer.html#checkpermission" class="tsd-kind-icon">check<wbr>Permission</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.webaclauthorizer.html#filterdata" class="tsd-kind-icon">filter<wbr>Data</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.webaclauthorizer.html#getaclrecursive" class="tsd-kind-icon">get<wbr>Acl<wbr>Recursive</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.webaclauthorizer.html#getmodepermissions" class="tsd-kind-icon">get<wbr>Mode<wbr>Permissions</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="index.webaclauthorizer.html#handle" class="tsd-kind-icon">handle</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="index.webaclauthorizer.html#handlesafe" class="tsd-kind-icon">handle<wbr>Safe</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.webaclauthorizer.html#hasaccess" class="tsd-kind-icon">has<wbr>Access</a></li>
|
||||
@@ -138,7 +139,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="authorization_authorizer.authorizer.html">Authorizer</a>.<a href="authorization_authorizer.authorizer.html#constructor">constructor</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/authorization/WebAclAuthorizer.ts#L30">src/authorization/WebAclAuthorizer.ts:30</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/authorization/WebAclAuthorizer.ts#L30">src/authorization/WebAclAuthorizer.ts:30</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
@@ -166,7 +167,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">acl<wbr>Manager<span class="tsd-signature-symbol">:</span> <a href="../interfaces/authorization_aclmanager.aclmanager.html" class="tsd-signature-type" data-tsd-kind="Interface">AclManager</a></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/authorization/WebAclAuthorizer.ts#L28">src/authorization/WebAclAuthorizer.ts:28</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/authorization/WebAclAuthorizer.ts#L28">src/authorization/WebAclAuthorizer.ts:28</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@@ -176,7 +177,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">identifier<wbr>Strategy<span class="tsd-signature-symbol">:</span> <a href="../interfaces/util_identifiers_identifierstrategy.identifierstrategy.html" class="tsd-signature-type" data-tsd-kind="Interface">IdentifierStrategy</a></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/authorization/WebAclAuthorizer.ts#L30">src/authorization/WebAclAuthorizer.ts:30</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/authorization/WebAclAuthorizer.ts#L30">src/authorization/WebAclAuthorizer.ts:30</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@@ -186,7 +187,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">logger<span class="tsd-signature-symbol">:</span> <a href="logging_logger.logger.html" class="tsd-signature-type" data-tsd-kind="Class">Logger</a><span class="tsd-signature-symbol"> = ...</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/authorization/WebAclAuthorizer.ts#L26">src/authorization/WebAclAuthorizer.ts:26</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/authorization/WebAclAuthorizer.ts#L26">src/authorization/WebAclAuthorizer.ts:26</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@@ -196,7 +197,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">resource<wbr>Store<span class="tsd-signature-symbol">:</span> <a href="../interfaces/storage_resourcestore.resourcestore.html" class="tsd-signature-type" data-tsd-kind="Interface">ResourceStore</a></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/authorization/WebAclAuthorizer.ts#L29">src/authorization/WebAclAuthorizer.ts:29</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/authorization/WebAclAuthorizer.ts#L29">src/authorization/WebAclAuthorizer.ts:29</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@@ -214,7 +215,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="authorization_authorizer.authorizer.html">Authorizer</a>.<a href="authorization_authorizer.authorizer.html#canhandle">canHandle</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/util/AsyncHandler.ts#L13">src/util/AsyncHandler.ts:13</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/util/AsyncHandler.ts#L13">src/util/AsyncHandler.ts:13</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -228,12 +229,12 @@
|
||||
<li>
|
||||
<h5>input: <a href="../interfaces/authorization_authorizer.authorizerargs.html" class="tsd-signature-type" data-tsd-kind="Interface">AuthorizerArgs</a></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<p>Input data that would be handled potentially.</p>
|
||||
<p>Input data that could potentially be handled.</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
||||
<p>A promise resolving if this input can be handled, rejecting with an Error if not.</p>
|
||||
<p>A promise resolving if the input can be handled, rejecting with an Error if not.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
@@ -247,7 +248,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/authorization/WebAclAuthorizer.ts#L86">src/authorization/WebAclAuthorizer.ts:86</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/authorization/WebAclAuthorizer.ts#L92">src/authorization/WebAclAuthorizer.ts:92</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -279,7 +280,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/authorization/WebAclAuthorizer.ts#L65">src/authorization/WebAclAuthorizer.ts:65</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/authorization/WebAclAuthorizer.ts#L65">src/authorization/WebAclAuthorizer.ts:65</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -324,7 +325,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/authorization/WebAclAuthorizer.ts#L161">src/authorization/WebAclAuthorizer.ts:161</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/authorization/WebAclAuthorizer.ts#L176">src/authorization/WebAclAuthorizer.ts:176</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -372,7 +373,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/authorization/WebAclAuthorizer.ts#L120">src/authorization/WebAclAuthorizer.ts:120</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/authorization/WebAclAuthorizer.ts#L135">src/authorization/WebAclAuthorizer.ts:135</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -402,6 +403,43 @@
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<a name="getmodepermissions" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> get<wbr>Mode<wbr>Permissions</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<li class="tsd-signature tsd-kind-icon">get<wbr>Mode<wbr>Permissions<span class="tsd-signature-symbol">(</span>store<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Store</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Quad</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Quad</span><span class="tsd-signature-symbol">></span>, aclMode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Term</span><span class="tsd-signature-symbol">[]</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/authorization/WebAclAuthorizer.ts#L101">src/authorization/WebAclAuthorizer.ts:101</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>Returns the identifiers of all authorizations that grant the given mode access for a resource.</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5>store: <span class="tsd-signature-type">Store</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Quad</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Quad</span><span class="tsd-signature-symbol">></span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<p>The store containing the quads of the acl resource.</p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<h5>aclMode: <span class="tsd-signature-type">string</span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<p>A valid acl mode (ACL.Write/Read/...)</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Term</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
|
||||
<a name="handle" class="tsd-anchor"></a>
|
||||
<h3>handle</h3>
|
||||
@@ -413,7 +451,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Overrides <a href="authorization_authorizer.authorizer.html">Authorizer</a>.<a href="authorization_authorizer.authorizer.html#handle">handle</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/authorization/WebAclAuthorizer.ts#L44">src/authorization/WebAclAuthorizer.ts:44</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/authorization/WebAclAuthorizer.ts#L44">src/authorization/WebAclAuthorizer.ts:44</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -439,14 +477,14 @@
|
||||
<a name="handlesafe" class="tsd-anchor"></a>
|
||||
<h3>handle<wbr>Safe</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-kind-icon">handle<wbr>Safe<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/authorization_authorizer.authorizerargs.html" class="tsd-signature-type" data-tsd-kind="Interface">AuthorizerArgs</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">handle<wbr>Safe<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><a href="../interfaces/authorization_authorizer.authorizerargs.html" class="tsd-signature-type" data-tsd-kind="Interface">AuthorizerArgs</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="authorization_authorizer.authorizer.html">Authorizer</a>.<a href="authorization_authorizer.authorizer.html#handlesafe">handleSafe</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/util/AsyncHandler.ts#L33">src/util/AsyncHandler.ts:33</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/util/AsyncHandler.ts#L35">src/util/AsyncHandler.ts:35</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -459,14 +497,15 @@
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5>data: <a href="../interfaces/authorization_authorizer.authorizerargs.html" class="tsd-signature-type" data-tsd-kind="Interface">AuthorizerArgs</a></h5>
|
||||
<h5>input: <a href="../interfaces/authorization_authorizer.authorizerargs.html" class="tsd-signature-type" data-tsd-kind="Interface">AuthorizerArgs</a></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<p>The data to handle.</p>
|
||||
<p>Input data that will be handled if it can be handled.</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
||||
<p>The result of the handle function of the handler.</p>
|
||||
<p>A promise resolving if the input can be handled, rejecting with an Error if not.
|
||||
Return value depends on the given type.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
@@ -480,7 +519,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/authorization/WebAclAuthorizer.ts#L98">src/authorization/WebAclAuthorizer.ts:98</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/authorization/WebAclAuthorizer.ts#L113">src/authorization/WebAclAuthorizer.ts:113</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -564,6 +603,9 @@
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<a href="index.webaclauthorizer.html#getaclrecursive" class="tsd-kind-icon">get<wbr>Acl<wbr>Recursive</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<a href="index.webaclauthorizer.html#getmodepermissions" class="tsd-kind-icon">get<wbr>Mode<wbr>Permissions</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
|
||||
<a href="index.webaclauthorizer.html#handle" class="tsd-kind-icon">handle</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user