Table of Contents

Interface ICookieConsentService

Namespace
Oqtane.Services
Assembly
Oqtane.Client.dll

Service to retrieve cookie consent information.

public interface ICookieConsentService

Methods

CanTrackAsync(bool)

Get cookie consent status

Task<bool> CanTrackAsync(bool optOut)

Parameters

optOut bool

Returns

Task<bool>

CreateActionedCookieAsync()

create actioned cookie

Task<string> CreateActionedCookieAsync()

Returns

Task<string>

CreateConsentCookieAsync()

create consent cookie

Task<string> CreateConsentCookieAsync()

Returns

Task<string>

IsActionedAsync()

Get cookie consent bar actioned status

Task<bool> IsActionedAsync()

Returns

Task<bool>

WithdrawConsentCookieAsync()

widhdraw consent cookie

Task<string> WithdrawConsentCookieAsync()

Returns

Task<string>