Abstract
Constructor for the RelationRoleModel
The name of the role
The leute model
The app of the role
The relation of the role
Optional
config: Partial<CertificateRoleConfig> & RelationRoleConfigThe config of the role
Abstract
canCreate a relation certificate
Optional
issuerId: SHA256IdHash<Person>The issuer id
The relation certificate
Get the certificates for a person
The person id
The certificates
Checks if the data is affirmed by the role person ids.
The data to check.
Optional
byPersonId: SHA256IdHash<Person>The personId that should be trusting the data.
True if the data is affirmed, false otherwise.
Check if the certificate is a role relation certificate
The certificate
Optional
rolePersonId: SHA256IdHash<Person>The role person id
True if the certificate is a role relation certificate, false otherwise
Shares the role with the given person ids.
The person ids to share with.
Optional
forceOptional
role
Application of CertificateRoleModel for relation certificates.