From ce6934126513f1da9e46b8d695fedb2ddf261ae1 Mon Sep 17 00:00:00 2001 From: "Chris Ross (ASP.NET)" Date: Fri, 5 Jan 2018 12:04:50 -0800 Subject: [PATCH] Add ITrackingConsentFeature.CreateConsentCookie --- .../ITrackingConsentFeature.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Microsoft.AspNetCore.Http.Features/ITrackingConsentFeature.cs b/src/Microsoft.AspNetCore.Http.Features/ITrackingConsentFeature.cs index 9e5108db43..e7fbeaeaf3 100644 --- a/src/Microsoft.AspNetCore.Http.Features/ITrackingConsentFeature.cs +++ b/src/Microsoft.AspNetCore.Http.Features/ITrackingConsentFeature.cs @@ -35,5 +35,10 @@ namespace Microsoft.AspNetCore.Http.Features /// this will also withdraw consent for future requests. /// void WithdrawConsent(); + + /// + /// Creates a consent cookie for use when granting consent from a javascript client. + /// + string CreateConsentCookie(); } }