Function salvo_csrf::ccp_csrf
source · pub fn ccp_csrf<S>(
aead_key: [u8; 32],
store: S,
finder: impl CsrfTokenFinder
) -> Csrf<CcpCipher, S>where
S: CsrfStore,
Available on crate feature
ccp-cipher
only.Expand description
Helper function to create a Csrf
use CcpCipher
.