package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Functions
AddCSRFProtection adds CSRF token into the user session via a secure cookie.
ExtractTokenFromCookie retrieves a CSRF token from the session cookie.
VerifyToken validates given token based on HTTP request cookie.
# Constants
CookieName is the name of the CSRF cookie used to protect against login CSRF in Teleport's SSO flows.