//
pkg.gl
Category
github.com/csrwng/origin
pkg
oauthserver
server
csrf
package
4.1.0+incompatible
Repository:
https://github.com/csrwng/origin.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
2
Dependents
0
Files
69 SLOC
#
Functions
NewCookieCSRF
NewCookieCSRF stores random CSRF tokens in a cookie created with the given options.
#
Structs
FakeCSRF
FakeCSRF returns the given token and error for testing purposes.
#
Interfaces
CSRF
CSRF handles generating a csrf value, and checking the submitted value.