using Oqtane.Models; using System; using System.Threading.Tasks; namespace Oqtane.Services { /// /// Service to retrieve cookie consent information. /// public interface ICookieConsentService { /// /// Get cookie consent bar actioned status /// /// Task IsActionedAsync(); /// /// Get cookie consent status /// /// Task CanTrackAsync(bool optOut); /// /// create actioned cookie /// /// Task CreateActionedCookieAsync(); /// /// create consent cookie /// /// Task CreateConsentCookieAsync(); /// /// widhdraw consent cookie /// /// Task WithdrawConsentCookieAsync(); } }