MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / SetPluginAuthParser

Method SetPluginAuthParser

sdk/cliproxy/types.go:143–148  ·  view source on GitHub ↗

SetPluginAuthParser updates the plugin auth parser used by the watcher.

(parser PluginAuthParser)

Source from the content-addressed store, hash-verified

141
142// SetPluginAuthParser updates the plugin auth parser used by the watcher.
143func (w *WatcherWrapper) SetPluginAuthParser(parser PluginAuthParser) {
144 if w == nil || w.setPluginAuthParser == nil {
145 return
146 }
147 w.setPluginAuthParser(parser)
148}
149
150// DispatchRuntimeAuthUpdate forwards runtime auth updates (e.g., websocket providers)
151// into the watcher-managed auth update queue when available.

Callers 2

ShutdownMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected