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

Method registerPluginAuthParser

sdk/cliproxy/service.go:153–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151}
152
153func (s *Service) registerPluginAuthParser() {
154 var parser PluginAuthParser
155 if s != nil && s.pluginHost != nil {
156 parser = s.pluginHost
157 }
158 sdkAuth.RegisterPluginAuthParser(parser)
159 if s != nil && s.watcher != nil {
160 s.watcher.SetPluginAuthParser(parser)
161 }
162}
163
164func (s *Service) syncPluginRuntime(ctx context.Context) {
165 if !s.syncPluginRuntimeConfig(ctx) {

Callers 2

RunMethod · 0.95

Calls 1

SetPluginAuthParserMethod · 0.45

Tested by

no test coverage detected