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

Method RegisterJS

pkg/interop/server.go:164–166  ·  view source on GitHub ↗

RegisterJS registers the Join Server for AS-JS, hNS-JS and vNS-JS messages. If an Identity Server is registered with RegisterIS, the Identity Server takes precedence for handling HomeNSRequest.

(js JoinServer)

Source from the content-addressed store, hash-verified

162// RegisterJS registers the Join Server for AS-JS, hNS-JS and vNS-JS messages.
163// If an Identity Server is registered with RegisterIS, the Identity Server takes precedence for handling HomeNSRequest.
164func (s *Server) RegisterJS(js JoinServer) {
165 s.js = js
166}
167
168// ClientCAPool returns a certificate pool of all configured client CAs.
169// TODO: Remove (https://github.com/TheThingsNetwork/lorawan-stack/issues/6026)

Callers 3

TestServerFunction · 0.95
RegisterInteropMethod · 0.80
RegisterInteropMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestServerFunction · 0.76
RegisterInteropMethod · 0.64