Ejemplo n.º 1
0
 internal static string GetResponseToken(this ActionExecutingContext context, RecaptchaAttributeOptions options) =>
 context.GetTokenFromActionArguments(options) ??
 context.GetTokenFromExecutingContext(options) ??
 context.GetTokenFromHeader(options) ??
 context.GetTokenFromQuery(options) ??
 context.GetTokenFromForm(options);