Documentation ¶
Index ¶
- type Manager
- func (cookieManager *Manager) CreateAuthCookie(username string, loginSessionId string) (http.Cookie, error)
- func (cookieManager *Manager) CreateForwardAuthCookie(username string, loginSessionId string) (http.Cookie, error)
- func (cookieManager *Manager) CreateMessageCookie(message string) http.Cookie
- func (cookieManager *Manager) DeleteAuthCookie() http.Cookie
- func (cookieManager *Manager) GetMessageCookieValue(r *http.Request) string
- func (cookieManager *Manager) ValidateAuthCookie(r *http.Request) (*config.User, *session.LoginSession, bool)
- func (cookieManager *Manager) ValidateForwardAuthCookie(r *http.Request) (*config.User, *session.LoginSession, bool)
- type Now
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func GetCookieManagerInstance ¶
func GetCookieManagerInstance() *Manager
func (*Manager) CreateAuthCookie ¶
func (*Manager) CreateForwardAuthCookie ¶ added in v0.7.8
func (*Manager) CreateMessageCookie ¶
func (*Manager) DeleteAuthCookie ¶
func (*Manager) GetMessageCookieValue ¶
func (*Manager) ValidateAuthCookie ¶
func (*Manager) ValidateForwardAuthCookie ¶ added in v0.7.8
Click to show internal directories.
Click to hide internal directories.