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

Method SetSession

pkg/authnz/authruntime/runtime.go:25–27  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request, s *authsession.AuthSession)

Source from the content-addressed store, hash-verified

23}
24
25func (p *ProviderRuntime) SetSession(w http.ResponseWriter, r *http.Request, s *authsession.AuthSession) error {
26 return authsession.SetSession(p.store, r, w, s)
27}
28
29func (p *ProviderRuntime) GetSession(r *http.Request) (*authsession.AuthSession, error) {
30 return authsession.GetSession(p.store, r)

Callers 3

basicAuthLoginFunction · 0.80
loginHandlerMethod · 0.80
callbackHandlerMethod · 0.80

Calls 1

SetSessionFunction · 0.92

Tested by

no test coverage detected