Skip to content

Commit

Permalink
add identity provider as left operand
Browse files Browse the repository at this point in the history
  • Loading branch information
besteves4 committed Oct 10, 2023
1 parent 3b86903 commit 4d08303
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 11 deletions.
Binary file modified assets/oac_diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions oac.html
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,11 @@ <h2 class="introductory" id="table-of-contents">Table of Contents</h2>
<bdi class="secno">2.5.5 </bdi>Technology
</a>
</li>
<li class="tocline">
<a class="tocxref" href="./oac.html#x2-5-6-idp">
<bdi class="secno">2.5.6 </bdi>Identity Provider
</a>
</li>
</ol>
</li>
</ol>
Expand Down Expand Up @@ -1102,8 +1107,28 @@ <h4 id="x2-5-5-tech">
</tbody>
</table>
</section>
<section id="idp">
<h4 id="x2-5-6-idp">
<bdi class="secno">2.5.6 </bdi>Identity Provider
<a class="self-link" aria-label="§" href="./oac.html#x2-5-6-idp"></a>
</h4>
<table class="def propdef">
<tbody>
<tr><th>Label:</th> <td>Identity Provider</td></tr>
<tr><th>Identifier:</th> <td><a href="https://w3id.org/oac#IdentityProvider">https://w3id.org/oac#IdentityProvider</a></td></tr>
<tr><th>Definition:</th> <td>Constraint on the identity provider service used to authenticate a user.</td></tr>
<tr><th>Example:</th> <td>A list of active Solid identity providers is maintained at <a>https://xxxx</a>.</td></tr>
<tr><th>Note:</th> <td>Only the <code>odrl:eq</code>, <code>odrl:neq</code>, <code>odrl:isAnyOf</code> or <code>odrl:isNoneOf</code> operators SHOULD be used. Example: <br><code>ex:idpConstraint a odrl:Constraint ;</code><br><code> odrl:leftOperand oac:IdentityProvider ;</code><br><code>odrl:operator odrl:isAnyOf ;</code><br><code>odrl:rightOperand &lt;https://solidweb.me>, &lt;https://login.inrupt.com/> .</code><br> indicates that used identity provider should be either the <code>&lt;https://solidweb.me></code> or <code>&lt;https://login.inrupt.com/></code> services.</td></tr>
<tr><th>Instance of:</th> <td><a href="http://www.w3.org/ns/odrl/2/LeftOperand">odrl:LeftOperand</a></td></tr>
</tbody>
</table>
</section>
</section>


ef="./oac.html#x2-5-6-idp">
<bdi class="secno">2.5.6 </bdi>Identity Provider

<section id="validation">
<h2>
<bdi class="secno">3. </bdi>Validation of policies with SHACL
Expand Down
34 changes: 23 additions & 11 deletions oac.ttl
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX acl: <http://www.w3.org/ns/auth/acl#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX vann: <http://purl.org/vocab/vann/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX odrl: <http://www.w3.org/ns/odrl/2/>
PREFIX dpv: <https://w3id.org/dpv#>
PREFIX dpv-tech: <https://w3id.org/dpv/dpv-tech#>
PREFIX acl: <http://www.w3.org/ns/auth/acl#>
PREFIX odrl: <http://www.w3.org/ns/odrl/2/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX plasma: <https://w3id.org/plasma#>
PREFIX profile: <http://www.w3.org/ns/dx/prof/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX role: <http://www.w3.org/ns/dx/prof/role/>
PREFIX plasma: <https://w3id.org/plasma#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX vann: <http://purl.org/vocab/vann/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

PREFIX oac: <https://w3id.org/oac#>

Expand Down Expand Up @@ -61,6 +61,7 @@ oac:oac-ttl a profile:ResourceDescriptor ;
skos:member oac:LegalBasis ;
skos:member oac:TechnicalOrganisationalMeasure;
skos:member oac:Technology ;
skos:member oac:IdentityProvider ;
skos:member oac:Entity ;
skos:member oac:isNotA ;
skos:member oac:subclass ;
Expand Down Expand Up @@ -145,7 +146,7 @@ oac:Access a odrl:Action, skos:Concept ;
rdfs:isDefinedBy oac: ;
rdfs:label "Access"@en ;
skos:definition "Modes used to access resources, e.g., stored in Solid Pods."@en ;
skos:example "The ACL vocabulary includes Read, Write and Append access modes."@en .
skos:example "The ACL vocabulary includes Read, Write, Append and Control access modes."@en .

oac:Processing a odrl:Action, skos:Concept ;
rdfs:subClassOf dpv:Processing ;
Expand Down Expand Up @@ -219,9 +220,20 @@ oac:Technology a odrl:LeftOperand, owl:NamedIndividual, skos:Concept ;
odrl:leftOperand oac:Technology ;
odrl:operator odrl:isA ;
odrl:rightOperand dpv-tech:PET .
oac: odrl:
indicates that a PET should be used for the processing to occur."""@en .

oac:IdentityProvider a odrl:LeftOperand, owl:NamedIndividual, skos:Concept ;
rdfs:isDefinedBy oac: ;
rdfs:label "Identity Provider"@en ;
skos:definition "Constraint on the identity provider service used to authenticate a user."@en ;
skos:example "A list of active Solid identity providers is maintained at https://xxxx ."@en ;
skos:note """Only the odrl:eq, odrl:neq, odrl:isAnyOf or odrl:isNoneOf SHOULD be used. Example:
<https://example.com/idpConstraint> a odrl:Constraint ;
odrl:leftOperand oac:IdentityProvider ;
odrl:operator odrl:isAnyOf ;
odrl:rightOperand <https://solidweb.me>, <https://login.inrupt.com/> .
indicates that used identity provider should be either the <https://solidweb.me> or <https://login.inrupt.com/> services."""@en .

# ------------ Operator Concepts ------------------ #

oac:isNotA a odrl:Operator, owl:NamedIndividual, skos:Concept ;
Expand Down

0 comments on commit 4d08303

Please sign in to comment.