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§

source

fn csrf_token(&self) -> &str

Implementations on Foreign Types§

source§

impl<T> WithUserProvidedCsrfToken for Form<T>

Convenience implementation for rocket::form::Form which automatically provides a csrf token if the inner type does.

source§

fn csrf_token(&self) -> &str

Implementors§