Add ITrackingConsentFeature.CreateConsentCookie

This commit is contained in:
Chris Ross (ASP.NET) 2018-01-05 12:04:50 -08:00
parent 2803541f53
commit ce69341265
1 changed files with 5 additions and 0 deletions

View File

@ -35,5 +35,10 @@ namespace Microsoft.AspNetCore.Http.Features
/// this will also withdraw consent for future requests.
/// </summary>
void WithdrawConsent();
/// <summary>
/// Creates a consent cookie for use when granting consent from a javascript client.
/// </summary>
string CreateConsentCookie();
}
}