subject |
URI or string |
Claim for subject principal |
issuer |
URI or string |
Claim for issuer principal |
target |
URI or string |
Claim for target of the consent - e.g., URL of a policy |
source |
URI or string |
Claim for source of the consent principal. If using the SDK this field will be automatically generated. |
scope |
string |
The scope of the consent. Typically this will refer to a section or clause in the target. If not specified, it will be automatically set to default. |
delegate |
URI or string |
Claim for delegate principal acting on behalf of the subject principal - e.g, a customer care representative registering consent on behalf of the subject who has called on the phone |
action |
boolean or null |
If null, no action was taken. true: subject accepted, false: subject declined. |
token (return value) |
string |
Token representing this consent, suitable for exchange between humans. This field will be automatically generated. |
createdAt (return value) |
ISO 8601 string |
Time of creation. This field will be automatically generated. |