Documentation ¶
Overview ¶
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
Index ¶
Constants ¶
View Source
const MailSent = "Email with reset link is sent"
MailSent message response when link is sent.
Variables ¶
This section is empty.
Functions ¶
func MakeHandler ¶
func MakeHandler(cls users.Service, authn mgauthn.Authentication, tokenClient magistrala.TokenServiceClient, selfRegister bool, grps groups.Service, mux *chi.Mux, logger *slog.Logger, instanceID string, pr *regexp.Regexp, providers ...oauth2.Provider) http.Handler
MakeHandler returns a HTTP handler for Users and Groups API endpoints.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.