Documentation ¶
Overview ¶
Package handler
Defined permissions: * permission("rn:hydra:oauth2:connections") actions("create", "get") * permission("rn:hydra:oauth2:connections:%s", id) actions("get", "delete")
Index ¶
- type Handler
- func (h *Handler) Create(ctx context.Context, rw http.ResponseWriter, req *http.Request)
- func (h *Handler) Delete(ctx context.Context, rw http.ResponseWriter, req *http.Request)
- func (h *Handler) Find(ctx context.Context, rw http.ResponseWriter, req *http.Request)
- func (h *Handler) Get(ctx context.Context, rw http.ResponseWriter, req *http.Request)
- func (h *Handler) SetRoutes(r *mux.Router, extractor func(h hydcon.ContextHandler) hydcon.ContextHandler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(s Storage, m middleware.Middleware) *Handler
func (*Handler) SetRoutes ¶
func (h *Handler) SetRoutes(r *mux.Router, extractor func(h hydcon.ContextHandler) hydcon.ContextHandler)
Click to show internal directories.
Click to hide internal directories.