MCPcopy Create free account
hub / github.com/coder/coder / WithAuthContext

Method WithAuthContext

coderd/httpmw/loggermw/logger_full.go:17–17  ·  view source on GitHub ↗
(actor rbac.Subject)

Source from the content-addressed store, hash-verified

15 WithFields(fields ...slog.Field)
16 WriteLog(ctx context.Context, status int)
17 WithAuthContext(actor rbac.Subject)
18}
19
20type RbacSlogRequestLogger struct {

Callers 3

TestAPIKeyFunction · 0.65
AsFunction · 0.65

Implementers 2

MockRequestLoggercoderd/httpmw/loggermw/loggermock/logg
MockRequestLoggerMockRecordercoderd/httpmw/loggermw/loggermock/logg

Calls

no outgoing calls

Tested by 2

TestAPIKeyFunction · 0.52