//
pkg.gl
Category
github.com/msepp/oauth2_proxy/v4
pkg
sessions
utils
package
4.2.2
Repository:
https://github.com/msepp/oauth2_proxy.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
32 SLOC
#
Functions
CookieForSession
CookieForSession serializes a session state for storage in a cookie.
SecretBytes
SecretBytes attempts to base64 decode the secret, if that fails it treats the secret as binary.
SessionFromCookie
SessionFromCookie deserializes a session from a cookie value.