mirror of https://github.com/abpframework/abp.git
2 changed files with 2 additions and 16 deletions
@ -1,14 +0,0 @@ |
|||
namespace Volo.Abp.AspNetCore.Mvc.AntiForgery |
|||
{ |
|||
public static class AbpAntiForgeryManagerAspNetCoreExtensions |
|||
{ |
|||
public static void SetCookie(this IAbpAntiForgeryManager manager) |
|||
{ |
|||
manager.HttpContext.Response.Cookies.Append( |
|||
manager.Options.TokenCookie.Name, |
|||
manager.GenerateToken(), |
|||
manager.Options.TokenCookie.Build(manager.HttpContext) |
|||
); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue