csrf

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TokenLength     = 32
	TokenField      = "csrfToken"
	TokenCookieName = "pnk_csrf"
)

Variables

This section is empty.

Functions

func NewCsrfGuard added in v0.2.0

func NewTokenInjector added in v0.2.0

func NewTokenInjector(config *core.Configuration) func(fasthttp.RequestHandler) fasthttp.RequestHandler

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL