Skip to main content
info
IOTA Identity for Rebased is currently in alpha and may still be subject to significant changes

SubjectHolderRelationship

@iota/identity-wasm API documentation


Enumeration: SubjectHolderRelationship

Declares how credential subjects must relate to the presentation holder.

See also the Subject-Holder Relationship section of the specification.

Enumeration Members

AlwaysSubject

AlwaysSubject: 0

The holder must always match the subject on all credentials, regardless of their nonTransferable property. This variant is the default.


SubjectOnNonTransferable

SubjectOnNonTransferable: 1

The holder must match the subject only for credentials where the nonTransferable property is true.


Any

Any: 2

The holder is not required to have any kind of relationship to any credential subject.