MCPcopy
hub / github.com/oauth2-proxy/oauth2-proxy / SetAuthEnabled

Method SetAuthEnabled

pkg/logger/logger.go:353–357  ·  view source on GitHub ↗

SetAuthEnabled enables or disables auth logging.

(e bool)

Source from the content-addressed store, hash-verified

351
352// SetAuthEnabled enables or disables auth logging.
353func (l *Logger) SetAuthEnabled(e bool) {
354 l.mu.Lock()
355 defer l.mu.Unlock()
356 l.authEnabled = e
357}
358
359// SetReqEnabled enabled or disables request logging.
360func (l *Logger) SetReqEnabled(e bool) {

Callers 1

SetAuthEnabledFunction · 0.80

Calls 1

LockMethod · 0.65

Tested by

no test coverage detected