MCPcopy Index your code
hub / github.com/coder/coder / Cookies

Method Cookies

coderd/coderdtest/testjar/cookiejar.go:29–33  ·  view source on GitHub ↗
(u *url.URL)

Source from the content-addressed store, hash-verified

27}
28
29func (j *Jar) Cookies(u *url.URL) []*http.Cookie {
30 j.m.Lock()
31 defer j.m.Unlock()
32 return j.perURL[u.Host]
33}

Callers 13

TestSessionCookieMaxAgeFunction · 0.80
TestUserOAuth2GithubFunction · 0.80
TestUserOIDCFunction · 0.80
TestMCPServerOAuth2PKCEFunction · 0.80
TestPostLogoutFunction · 0.80
TestOAuth2Function · 0.80
LoginWithClientMethod · 0.80
Test_ResolveRequestFunction · 0.80
FromRequestFunction · 0.80
RunFunction · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by 9

TestSessionCookieMaxAgeFunction · 0.64
TestUserOAuth2GithubFunction · 0.64
TestUserOIDCFunction · 0.64
TestMCPServerOAuth2PKCEFunction · 0.64
TestPostLogoutFunction · 0.64
TestOAuth2Function · 0.64
Test_ResolveRequestFunction · 0.64