MCPcopy Index your code
hub / github.com/ory/hydra / requireDynamicAuth

Method requireDynamicAuth

client/handler.go:880–885  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

878}
879
880func (h *Handler) requireDynamicAuth(r *http.Request) *herodot.DefaultError {
881 if !h.r.Config().PublicAllowDynamicRegistration(r.Context()) {
882 return herodot.ErrNotFound.WithReason("Dynamic registration is not enabled.")
883 }
884 return nil
885}

Callers 4

setOidcDynamicClientMethod · 0.95
getOidcDynamicClientMethod · 0.95

Calls 2

ConfigMethod · 0.65

Tested by

no test coverage detected