(auth *coreauth.Auth)
| 568 | } |
| 569 | |
| 570 | func 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 | |
| 577 | func authWebsocketsValue(auth *coreauth.Auth) (bool, bool) { |
| 578 | if auth == nil { |
no outgoing calls
no test coverage detected