IAntiForgeryAdditionalDataProvider.GetAdditionalData(HttpContextBase) IAntiForgeryAdditionalDataProvider.GetAdditionalData(HttpContextBase) IAntiForgeryAdditionalDataProvider.GetAdditionalData(HttpContextBase) Method

Definition

Provides additional data to store for the anti-forgery tokens that are generated during this request.

public string GetAdditionalData (System.Web.HttpContextBase context);
abstract member GetAdditionalData : System.Web.HttpContextBase -> string
Public Function GetAdditionalData (context As HttpContextBase) As String
Parameters
context
HttpContextBase HttpContextBase HttpContextBase

Information about the current request.

Returns

The supplemental data to embed in the anti-forgery token.

Applies to