Click or drag to resize

IAntiForgeryAdditionalDataProviderValidateAdditionalData Method

Validates additional data that was embedded inside an incoming anti-forgery token.

Namespace: GSF.Web.Security
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax
bool ValidateAdditionalData(
	HttpRequestMessage request,
	string additionalData
)
View Source

Parameters

request  HttpRequestMessage
Information about the current request.
additionalData  String
Supplemental data that was embedded within the token.

Return Value

Boolean
True if the data is valid; false if the data is invalid.
See Also