Interface AcceptConsentRequest

interface AcceptConsentRequest {
    accepted_by?: string;
    accepted_fields?: string[];
    action_id?: string;
    action_type?: string;
    client_id: string;
    consent_id: string;
    consent_version_id: string;
    field_key?: string;
    q?: string;
    revoked?: boolean;
    scopes?: string[];
    skipped?: boolean;
    sub?: string;
    url?: string;
}

Properties

accepted_by?: string

Sub of user, which will accept the consent

accepted_fields?: string[]

List of field_keys which has been accepted

action_id?: string

Unique identifier for action, which trigger consent acceptance

action_type?: string

Describe how the consent acceptance is triggered. E.g. "register", "login"

client_id: string

Unique identifier of client app, can be found in app setting under admin ui

consent_id: string

Unique identifier for consent to be accepted

consent_version_id: string

Unique identifier for version of the consent to be accepted

field_key?: string

Unique name of field. Required to be passed when consent is field consent

q?: string

Masked sub (id of user), who will accept the consent. Either sub or q have to be provided, depends on what is given from the query parameter.

revoked?: boolean

True, if consent has been revoked

scopes?: string[]

Scopes are list of functional definition. Required to be passed on scope consent (Ex: email, profile, openid)

skipped?: boolean

True if consent is optional and not accepted in consent accept page

sub?: string

Masked sub (id of user), who will accept the consent. Either sub or q have to be provided, depends on what is given from the query parameter.

url?: string

Consent url for user to accept terms or privacy policy