Class AspNetCoreAbpAntiForgeryManager
Inheritance
AspNetCoreAbpAntiForgeryManager
Assembly: Volo.Abp.AspNetCore.Mvc.dll
Syntax
public class AspNetCoreAbpAntiForgeryManager : IAbpAntiForgeryManager, ITransientDependency
Constructors
AspNetCoreAbpAntiForgeryManager(IAntiforgery, IHttpContextAccessor, IOptions<AbpAntiForgeryOptions>)
Declaration
public AspNetCoreAbpAntiForgeryManager(IAntiforgery antiforgery, IHttpContextAccessor httpContextAccessor, IOptions<AbpAntiForgeryOptions> options)
Parameters
Properties
HttpContext
Declaration
protected HttpContext HttpContext { get; }
Property Value
Options
Declaration
protected AbpAntiForgeryOptions Options { get; }
Property Value
Methods
GenerateToken()
Declaration
public virtual string GenerateToken()
Returns
SetCookie()
Declaration
public virtual void SetCookie()
Implements
Extension Methods