MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / requireAuthentication

Function requireAuthentication

app/artifact-cas/internal/server/grpc.go:153–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151)
152
153func requireAuthentication() selector.MatchFunc {
154 // Skip authentication on the status grpc service
155 return func(ctx context.Context, operation string) bool {
156 return !statusServiceOperationRegexp.MatchString(operation)
157 }
158}
159
160// Reflection API is called by clients like grpcurl to list services
161// and without this selector check it would require authentication

Callers 2

NewGRPCServerFunction · 0.85

Calls

no outgoing calls

Tested by 1