ITrackingConsentFeature Interface

Definition

Used to query, grant, and withdraw user consent regarding the storage of user information related to site activity and functionality.

public interface class ITrackingConsentFeature
public interface ITrackingConsentFeature
type ITrackingConsentFeature = interface
Public Interface ITrackingConsentFeature

Properties

CanTrack

Indicates either if consent has been given or if consent is not required.

HasConsent

Indicates if consent was given.

IsConsentNeeded

Indicates if consent is required for the given request.

Methods

CreateConsentCookie()

Creates a consent cookie for use when granting consent from a javascript client.

GrantConsent()

Grants consent for this request. If the response has not yet started then this will also grant consent for future requests.

WithdrawConsent()

Withdraws consent for this request. If the response has not yet started then this will also withdraw consent for future requests.

Applies to