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

Function NewHandler

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

Source from the content-addressed store, hash-verified

38)
39
40func NewHandler(r InternalRegistry) *Handler {
41 return &Handler{r: r}
42}
43
44func (h *Handler) SetRoutes(admin *httprouterx.RouterAdmin) {
45 admin.GET(LoginPath, h.getOAuth2LoginRequest)

Callers 6

RegisterAdminRoutesMethod · 0.92
TestGetLogoutRequestFunction · 0.70
TestGetLoginRequestFunction · 0.70
TestGetConsentRequestFunction · 0.70

Calls

no outgoing calls

Tested by 5

TestGetLogoutRequestFunction · 0.56
TestGetLoginRequestFunction · 0.56
TestGetConsentRequestFunction · 0.56