Function salvo_csrf::hmac_session_csrf
source · pub fn hmac_session_csrf(
aead_key: [u8; 32],
finder: impl CsrfTokenFinder
) -> Csrf<HmacCipher, SessionStore>
Available on crate features
hmac-cipher
and session-store
only.Expand description
Helper function to create a Csrf
use HmacCipher
and SessionStore
.