MCPcopy
hub / github.com/ory/hydra / NewHandler

Function NewHandler

client/handler.go:38–40  ·  view source on GitHub ↗
(r InternalRegistry)

Source from the content-addressed store, hash-verified

36)
37
38func NewHandler(r InternalRegistry) *Handler {
39 return &Handler{r: r}
40}
41
42func (h *Handler) SetAdminRoutes(r *httprouterx.RouterAdmin) {
43 r.GET(ClientsHandlerPath, h.listOAuth2Clients)

Callers 4

TestHandlerFunction · 0.92
TestClientSDKFunction · 0.92
RegisterPublicRoutesMethod · 0.92
RegisterAdminRoutesMethod · 0.92

Calls

no outgoing calls

Tested by 2

TestHandlerFunction · 0.74
TestClientSDKFunction · 0.74