pub trait CsrfRequestExt {
// Required method
fn rotate_csrf_token_in_response(
&self,
resp: &mut HttpResponseBuilder,
) -> Result<(), Error>;
}
Expand description
Extension trait for Actix HttpRequest to rotate CSRF token without passing the config explicitly.