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

Method FromRequest

enterprise/wsproxy/tokenprovider.go:28–30  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

26}
27
28func (p *TokenProvider) FromRequest(r *http.Request) (*workspaceapps.SignedToken, bool) {
29 return workspaceapps.FromRequest(r, p.TokenSigningKeycache)
30}
31
32func (p *TokenProvider) Issue(ctx context.Context, rw http.ResponseWriter, r *http.Request, issueReq workspaceapps.IssueTokenRequest) (*workspaceapps.SignedToken, string, bool) {
33 appReq := issueReq.AppRequest.Normalize()

Callers

nothing calls this directly

Calls 1

FromRequestFunction · 0.92

Tested by

no test coverage detected