Documentation
¶
Index ¶
Constants ¶
View Source
const CSRFTokenTTL = 30 * time.Minute
View Source
const CsrfCookieName = "csrf_token"
Variables ¶
This section is empty.
Functions ¶
func DeleteCSRFTokenCookie ¶
func DeleteCSRFTokenCookie(w http.ResponseWriter) error
func GenerateCSRFToken ¶
func SetCSRFTokenCookie ¶
func SetCSRFTokenCookie(w http.ResponseWriter, token string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.