Show / Hide Table of Contents

Class AbpAntiForgeryOptions

Inheritance
System.Object
AbpAntiForgeryOptions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Volo.Abp.AspNetCore.Mvc.AntiForgery
Assembly: Volo.Abp.AspNetCore.Mvc.dll
Syntax
public class AbpAntiForgeryOptions

Constructors

AbpAntiForgeryOptions()

Declaration
public AbpAntiForgeryOptions()

Properties

TokenCookieName

Get/sets cookie name to transfer Anti Forgery token between server and client. Default value: "XSRF-TOKEN".

Declaration
public string TokenCookieName { get; set; }
Property Value
Type Description
System.String

TokenHeaderName

Get/sets header name to transfer Anti Forgery token from client to the server. Default value: "X-XSRF-TOKEN".

Declaration
public string TokenHeaderName { get; set; }
Property Value
Type Description
System.String

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft