mirror of
https://github.com/volatiletech/authboss.git
synced 2024-12-04 10:24:52 +02:00
7 lines
184 B
Go
7 lines
184 B
Go
package authboss
|
|
|
|
import "net/http"
|
|
|
|
// XSRF returns a token that should be written to forms to prevent xsrf attacks.
|
|
type XSRF func(http.ResponseWriter, *http.Request) (token string)
|