Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
func (*Authenticator) Wrap ¶
func (a *Authenticator) Wrap(handle authenticatedHandler) http.Handler
type PoliciesCleanup ¶ added in v0.7.0
type PoliciesCleanup struct { Logger lager.Logger Store store.Store Marshaler marshal.Marshaler UAAClient uaaClient CCClient ccClient }
func (*PoliciesCleanup) ServeHTTP ¶ added in v0.7.0
func (h *PoliciesCleanup) ServeHTTP(w http.ResponseWriter, req *http.Request, currentUserName string)
type PoliciesCreate ¶
type PoliciesCreate struct { Logger lager.Logger Store store.Store Unmarshaler marshal.Unmarshaler Validator validator }
func (*PoliciesCreate) ServeHTTP ¶
func (h *PoliciesCreate) ServeHTTP(w http.ResponseWriter, req *http.Request, currentUserName string)
type PoliciesDelete ¶
type PoliciesDelete struct { Logger lager.Logger Unmarshaler marshal.Unmarshaler Store store.Store Validator validator }
func (*PoliciesDelete) ServeHTTP ¶
func (h *PoliciesDelete) ServeHTTP(w http.ResponseWriter, req *http.Request, currentUserName string)
type PoliciesIndex ¶
func (*PoliciesIndex) ServeHTTP ¶
func (h *PoliciesIndex) ServeHTTP(w http.ResponseWriter, req *http.Request, currentUserName string)
type PoliciesIndexInternal ¶
type PoliciesIndexInternal struct { Logger lager.Logger Store store.Store Marshaler marshal.Marshaler }
func (*PoliciesIndexInternal) ServeHTTP ¶
func (h *PoliciesIndexInternal) ServeHTTP(w http.ResponseWriter, req *http.Request)
type UAAClient ¶
type UAAClient interface {
CheckToken(token string) (uaa_client.CheckTokenResponse, error)
}
type UptimeHandler ¶
func (*UptimeHandler) ServeHTTP ¶
func (h *UptimeHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
type WhoAmIHandler ¶
type WhoAmIHandler struct { Client uaaRequestClient Logger lager.Logger Marshaler marshal.Marshaler }
func (*WhoAmIHandler) ServeHTTP ¶
func (h *WhoAmIHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
type WhoAmIResponse ¶
type WhoAmIResponse struct {
UserName string `json:"user_name"`
}
Click to show internal directories.
Click to hide internal directories.