Documentation ¶
Index ¶
Constants ¶
View Source
const CookieName string = "apparat"
Variables ¶
This section is empty.
Functions ¶
func InitCookieStore ¶
func SetAuthCookie ¶
func SetAuthCookie(r *http.Request, w http.ResponseWriter, ac *AuthCookie) error
Types ¶
type AuthCookie ¶
func CheckAuthCookie ¶
func CheckAuthCookie(r *http.Request) (*AuthCookie, error)
func CheckCookieWeb ¶
func CheckCookieWeb(auth_url string, cookie *http.Cookie) (*AuthCookie, error)
func NewAuthCookie ¶
func NewAuthCookie(username string) *AuthCookie
type AuthCtl ¶
type AuthCtl struct {
// contains filtered or unexported fields
}
func NewAuthCtl ¶
func (*AuthCtl) UpdateUser ¶
Click to show internal directories.
Click to hide internal directories.