View Source
Class UmbracoAntiForgeryAdditionalDataProvider
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[Obsolete("This is no longer used and will be removed from the codebase in future versions")]
public class UmbracoAntiForgeryAdditionalDataProvider : IAntiForgeryAdditionalDataProvider
Constructors
View Source
UmbracoAntiForgeryAdditionalDataProvider(IAntiForgeryAdditionalDataProvider)
Constructor, allows wrapping a default provider
Declaration
public UmbracoAntiForgeryAdditionalDataProvider(IAntiForgeryAdditionalDataProvider defaultProvider)
Parameters
Type |
Name |
Description |
IAntiForgeryAdditionalDataProvider |
defaultProvider |
|
Methods
View Source
GetAdditionalData(HttpContextBase)
Declaration
public string GetAdditionalData(HttpContextBase context)
Parameters
Type |
Name |
Description |
System.Web.HttpContextBase |
context |
|
Returns
Type |
Description |
System.String |
|
View Source
ValidateAdditionalData(HttpContextBase, String)
Declaration
public bool ValidateAdditionalData(HttpContextBase context, string additionalData)
Parameters
Type |
Name |
Description |
System.Web.HttpContextBase |
context |
|
System.String |
additionalData |
|
Returns
Type |
Description |
System.Boolean |
|