package
3.10.0-alpha.0+incompatible
Repository: https://github.com/wagoodman/origin.git
Documentation: pkg.go.dev
# Functions
NewCookieCSRF stores random CSRF tokens in a cookie created with the given options.
NewEmptyCSRF returns a CSRF object which generates empty CSRF tokens, and accepts any token as valid.
NewSessionCSRF stores CSRF tokens in a session with the given name.
# Constants
No description provided by the author
# Interfaces
CSRF handles generating a csrf value, and checking the submitted value.