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

Method currentAuthManager

internal/pluginhost/auth_callbacks.go:43–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func (h *Host) currentAuthManager() *coreauth.Manager {
44 if h == nil {
45 return nil
46 }
47 h.mu.Lock()
48 manager := h.authManager
49 h.mu.Unlock()
50 return manager
51}
52
53func (h *Host) callHostAuthList(ctx context.Context, request []byte) ([]byte, error) {
54 _ = ctx

Calls

no outgoing calls