mirror of
https://github.com/volatiletech/authboss.git
synced 2024-11-24 08:42:17 +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)
|