impersonating

package
v1.0.53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindAddCImpersonationSuggest

type BindAddCImpersonationSuggest struct {
	FirstName string `query:"first_name"`
	LastName  string `query:"last_name"`
}

type BindCreateImpersonation

type BindCreateImpersonation struct {
	ID string `form:"id"`
}

type Context

type Context struct {
	handlers.BaseContext
}

type Handler

type Handler struct {
	handlers.BaseHandler
	UserSearchService backends.UserSearchService
}

func (*Handler) AddImpersonation

func (h *Handler) AddImpersonation(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) AddImpersonationSuggest

func (h *Handler) AddImpersonationSuggest(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) CreateImpersonation

func (h *Handler) CreateImpersonation(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) DeleteImpersonation

func (h *Handler) DeleteImpersonation(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) Wrap

type YieldAddImpersonation

type YieldAddImpersonation struct {
	Context
	Form *form.Form
}

type YieldAddImpersonationSuggest

type YieldAddImpersonationSuggest struct {
	Context
	FirstName string
	LastName  string
	Hits      []*models.Person
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL