MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / RemoveAuthCookie

Method RemoveAuthCookie

pkg/account/session/session.go:95–97  ·  view source on GitHub ↗

RemoveAuthCookie deletes the authentication cookie.

(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

93
94// RemoveAuthCookie deletes the authentication cookie.
95func (s *Session) RemoveAuthCookie(w http.ResponseWriter, r *http.Request) {
96 s.authCookie().Remove(w, r)
97}
98
99type userSessionKeyType struct{}
100

Callers 3

GetMethod · 0.95
ClientLogoutMethod · 0.80
LogoutMethod · 0.80

Calls 2

authCookieMethod · 0.95
RemoveMethod · 0.80

Tested by

no test coverage detected