HttpAbstractions 284 B

123456789101112131415161718192021
  1. commit ce6934126513f1da9e46b8d695fedb2ddf261ae1
  2. Author: Chris Ross (ASP.NET) <[email protected]>
  3. Date: Fri Jan 5 12:04:50 2018 -0800
  4. Add ITrackingConsentFeature.CreateConsentCookie
  5. diff --git a/src/Microsoft.AspNetCore.Http.Features/ITrackingConsentFeature.cs b/src/Microsoft.AspNetCore.Http.Features/ITrackingConsentFeature.cs
  6. index 9e5108db432..e7fbeaeaf33 100644
  7. --- a/src/Microsoft.AspNetCore.Http.Features/ITrackingConsentFeature.cs
  8. +++ b/src/Microsoft.AspNetCore.Http.Features/ITrackingConsentFeature.cs
  9. @@ -35,5 +35,10 @@ namespace Microsoft.AspNetCore.Http.Features
  10. /// this will also withdraw consent for future requests.
  11. /// </summary>
  12. void WithdrawConsent();
  13. +
  14. + /// <summary>
  15. + /// Creates a consent cookie for use when granting consent from a javascript client.
  16. + /// </summary>
  17. + string CreateConsentCookie();
  18. }
  19. }