package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Functions
ClearCookie wipes the session cookie to invalidate the user session.
DecodeCookie returns the [Cookie] from the provided string.
EncodeCookie returns the string representation of a [Cookie] that should be used to store the user session in the cookies of a [http.ResponseWriter].
SetCookie encodes the provided user and session id via [EncodeCookie] and then sets the [http.Cookie] of the provided [http.ResponseWriter].
# Constants
CookieName is the name of the session cookie.