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

Function isRuntimeOnlyAuth

internal/pluginhost/auth_callbacks.go:570–575  ·  view source on GitHub ↗
(auth *coreauth.Auth)

Source from the content-addressed store, hash-verified

568}
569
570func isRuntimeOnlyAuth(auth *coreauth.Auth) bool {
571 if auth == nil || len(auth.Attributes) == 0 {
572 return false
573 }
574 return strings.EqualFold(strings.TrimSpace(auth.Attributes["runtime_only"]), "true")
575}
576
577func authWebsocketsValue(auth *coreauth.Auth) (bool, bool) {
578 if auth == nil {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected