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

Method FromRequest

coderd/workspaceapps/db.go:88–90  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

86}
87
88func (p *DBTokenProvider) FromRequest(r *http.Request) (*SignedToken, bool) {
89 return FromRequest(r, p.Keycache)
90}
91
92func (p *DBTokenProvider) Issue(ctx context.Context, rw http.ResponseWriter, r *http.Request, issueReq IssueTokenRequest) (*SignedToken, string, bool) {
93 // nolint:gocritic // We need to make a number of database calls. Setting a system context here

Callers

nothing calls this directly

Calls 1

FromRequestFunction · 0.85

Tested by

no test coverage detected