Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
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
29
func
(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
TestSessionCookieMaxAge
Function · 0.80
TestOIDCOauthLoginWithExisting
Function · 0.80
TestUserOAuth2Github
Function · 0.80
TestUserOIDC
Function · 0.80
TestMCPServerOAuth2PKCE
Function · 0.80
TestPostLogout
Function · 0.80
TestOAuth2
Function · 0.80
LoginWithClient
Method · 0.80
Test_ResolveRequest
Function · 0.80
FromRequest
Function · 0.80
Run
Function · 0.80
TestHTTPCookieConfigMiddleware
Function · 0.80
Calls
2
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
9
TestSessionCookieMaxAge
Function · 0.64
TestOIDCOauthLoginWithExisting
Function · 0.64
TestUserOAuth2Github
Function · 0.64
TestUserOIDC
Function · 0.64
TestMCPServerOAuth2PKCE
Function · 0.64
TestPostLogout
Function · 0.64
TestOAuth2
Function · 0.64
Test_ResolveRequest
Function · 0.64
TestHTTPCookieConfigMiddleware
Function · 0.64