CsrfRequestPostProcessor class final

The request post-processor csrf returns.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postProcessRequest(MockServerHttpRequest request) → MockServerHttpRequest
Returns the request to perform instead of request; usually request itself after changing its headers, cookies, attributes or principal.
toString() → String
A string representation of this object.
inherited
useInvalidToken() → CsrfRequestPostProcessor
Makes the request act as if it carried a wrong token, so the CSRF check refuses it with 403.

Operators

operator ==(Object other) → bool
The equality operator.
inherited