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

Function authAttribute

internal/pluginhost/auth_callbacks.go:563–568  ·  view source on GitHub ↗
(auth *coreauth.Auth, key string)

Source from the content-addressed store, hash-verified

561}
562
563func authAttribute(auth *coreauth.Auth, key string) string {
564 if auth == nil || len(auth.Attributes) == 0 {
565 return ""
566 }
567 return auth.Attributes[key]
568}
569
570func isRuntimeOnlyAuth(auth *coreauth.Auth) bool {
571 if auth == nil || len(auth.Attributes) == 0 {

Callers 3

callHostAuthGetMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected