Function salvo_csrf::aes_gcm_cookie_csrf
source · pub fn aes_gcm_cookie_csrf(
aead_key: [u8; 32],
finder: impl CsrfTokenFinder
) -> Csrf<AesGcmCipher, CookieStore>
Available on crate features
aes-gcm-cipher
and cookie-store
only.Expand description
Helper function to create a Csrf
use AesGcmCipher
and CookieStore
.