Ejemplo n.º 1
0
 public CsrfValidationException(CsrfTokenValidationResult result)
     : base(result.ToString())
 {
     Result = result;
 }
Ejemplo n.º 2
0
 /// <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;
 }