MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / ValidateRequest

Method ValidateRequest

validation/validation.go:214–216  ·  view source on GitHub ↗
(ctx context.Context, r *http.Request)

Source from the content-addressed store, hash-verified

212}
213
214func (a *Access) ValidateRequest(ctx context.Context, r *http.Request) error {
215 return a.Validate(ctx, r.Header.Get(accessJwtHeader))
216}

Callers 1

TestNewAccessValidatorOkFunction · 0.80

Calls 2

ValidateMethod · 0.95
GetMethod · 0.80

Tested by 1

TestNewAccessValidatorOkFunction · 0.64