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

Struct HTTPAuthorizer

coderd/authorize.go:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42type HTTPAuthorizer struct {
43 Authorizer rbac.Authorizer
44 Logger slog.Logger
45}
46
47// Authorize will return false if the user is not authorized to do the action.
48// This function will log appropriately, but the caller must return an

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected