public CsrfValidationException(CsrfTokenValidationResult result) : base(result.ToString()) { Result = result; }
/// <summary> /// Initializes a new instance of the <see cref="CsrfValidationException"/> class, with /// the provided <paramref name="result"/>. /// </summary> /// <param name="result">The CSRF token validation result.</param> public CsrfValidationException(CsrfTokenValidationResult result) : base(result.ToString()) { Result = result; }