feat: Added oidc validation triples to template

* feat: added oidc validation triples to template

Signed-off-by: Wouter Termont <woutermont@gmail.com>

* fix: Add missing newline

Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
This commit is contained in:
Wouter Termont 2021-03-15 14:37:32 +01:00 committed by GitHub
parent 613dd5698a
commit e2284c4c42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -25,4 +25,12 @@ export interface PodSettings extends NodeJS.Dict<string> {
* E-mail of the owner. Used in provisioning templates.
*/
email?: string;
/**
* The OIDC issuer of the owner's WebId.
*/
oidcIssuer?: string;
/**
* A registration token for linking the owner's WebId to an IdP.
*/
oidcIssuerRegistrationToken?: string;
}

View File

@ -1,4 +1,5 @@
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix solid: <http://www.w3.org/ns/solid/terms#>.
<>
a foaf:PersonalProfileDocument;
@ -7,4 +8,6 @@
<{{webId}}>
a foaf:Person;
foaf:name "{{name}}".
foaf:name "{{name}}";
solid:oidcIssuer <{{oidcIssuer}}> ;
solid:oidcIssuerRegistrationToken "{{oidcIssuerRegistrationToken}}" .