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(); } }