Struct iron_csrf::Ed25519CsrfProtection
[−]
[src]
pub struct Ed25519CsrfProtection { /* fields omitted */ }
pub struct Ed25519CsrfProtection { /* fields omitted */ }
impl Ed25519CsrfProtection
[src]impl CsrfProtection for Ed25519CsrfProtection
[src]fn generate_token(&self) -> Result<CsrfToken, String>
fn validate_token(&self, token: &CsrfToken) -> Result<bool, String>