MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / getServerAuth

Method getServerAuth

pkg/basicstation/cups/server.go:66–71  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

64}
65
66func (s *Server) getServerAuth(ctx context.Context) grpc.CallOption {
67 if s.auth != nil {
68 return s.auth(ctx)
69 }
70 return s.component.WithClusterAuth()
71}
72
73func (s *Server) getRegistry(ctx context.Context, _ *ttnpb.GatewayIdentifiers) (ttnpb.GatewayRegistryClient, error) {
74 if s.registry != nil {

Callers 1

updateInfoMethod · 0.95

Calls 1

WithClusterAuthMethod · 0.65

Tested by

no test coverage detected