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

Function authAttribute

sdk/cliproxy/auth/classification.go:121–126  ·  view source on GitHub ↗
(auth *Auth, key string)

Source from the content-addressed store, hash-verified

119}
120
121func authAttribute(auth *Auth, key string) string {
122 if auth == nil || auth.Attributes == nil {
123 return ""
124 }
125 return strings.TrimSpace(auth.Attributes[key])
126}
127
128func authMetadataString(auth *Auth, key string) string {
129 if auth == nil || auth.Metadata == nil {

Callers 4

AccountInfoMethod · 0.70
IsConfigAPIKeyAuthFunction · 0.70
AuthKindMethod · 0.70
AuthSourceKindMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected