MCPcopy
hub / github.com/Place1/wg-access-server / ClearSession

Method ClearSession

pkg/authnz/authruntime/runtime.go:33–35  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

31}
32
33func (p *ProviderRuntime) ClearSession(w http.ResponseWriter, r *http.Request) error {
34 return authsession.ClearSession(p.store, r, w)
35}
36
37func (p *ProviderRuntime) Restart(w http.ResponseWriter, r *http.Request) {
38 http.Redirect(w, r, "/signin", http.StatusTemporaryRedirect)

Callers 1

NewFunction · 0.95

Calls 1

ClearSessionFunction · 0.92

Tested by

no test coverage detected