pub trait WithUserProvidedCsrfToken {
// Required method
fn csrf_token(&self) -> &str;
}
Expand description
A thing that has a csrf token provided from user input
Required Methods§
fn csrf_token(&self) -> &str
Implementations on Foreign Types§
source§impl<T> WithUserProvidedCsrfToken for Form<T>where
T: WithUserProvidedCsrfToken,
impl<T> WithUserProvidedCsrfToken for Form<T>where
T: WithUserProvidedCsrfToken,
Convenience implementation for rocket::form::Form
which
automatically provides a csrf token if the inner type does.