Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
40
func
NewHandler(r InternalRegistry) *Handler {
41
return
&Handler{r: r}
42
}
43
44
func
(h *Handler) SetRoutes(admin *httprouterx.RouterAdmin) {
45
admin.GET(LoginPath, h.getOAuth2LoginRequest)
Callers
6
RegisterAdminRoutes
Method · 0.92
TestGetLogoutRequest
Function · 0.70
TestGetLoginRequest
Function · 0.70
TestGetConsentRequest
Function · 0.70
TestAcceptLoginRequestDouble
Function · 0.70
TestAcceptCodeDeviceRequest
Function · 0.70
Calls
no outgoing calls
Tested by
5
TestGetLogoutRequest
Function · 0.56
TestGetLoginRequest
Function · 0.56
TestGetConsentRequest
Function · 0.56
TestAcceptLoginRequestDouble
Function · 0.56
TestAcceptCodeDeviceRequest
Function · 0.56