MCPcopy
hub / github.com/oauth2-proxy/oauth2-proxy / prefixValues

Function prefixValues

pkg/validation/utils.go:3–11  ·  view source on GitHub ↗
(prefix string, values ...string)

Source from the content-addressed store, hash-verified

1package validation
2
3func prefixValues(prefix string, values ...string) []string {
4 msgs := []string{}
5 for _, value := range values {
6 if value != "" {
7 msgs = append(msgs, prefix+value)
8 }
9 }
10 return msgs
11}

Callers 3

validateHeaderFunction · 0.85
ValidateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected