api

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const NativeProvider = "native"

const SSOProvider = "sso"

Variables

This section is empty.

Functions

func Init

func Init()

Types

type APIHandler

type APIHandler struct {
	core.Handler
	rbac.Adapter
}

func (APIHandler) CreateRole

func (h APIHandler) CreateRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (APIHandler) CreateUser

func (h APIHandler) CreateUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (APIHandler) DeleteRole

func (h APIHandler) DeleteRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (APIHandler) DeleteUser

func (h APIHandler) DeleteUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (APIHandler) GetRole

func (APIHandler) GetUser

func (APIHandler) ListPermission

func (h APIHandler) ListPermission(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (APIHandler) Login

func (APIHandler) Logout

func (APIHandler) Profile

func (APIHandler) SearchRole

func (h APIHandler) SearchRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (APIHandler) SearchUser

func (h APIHandler) SearchUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (APIHandler) UpdatePassword

func (h APIHandler) UpdatePassword(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (APIHandler) UpdateProfile

func (h APIHandler) UpdateProfile(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (APIHandler) UpdateRole

func (h APIHandler) UpdateRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (APIHandler) UpdateUser

func (h APIHandler) UpdateUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (APIHandler) UpdateUserPassword

func (h APIHandler) UpdateUserPassword(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

Jump to

Keyboard shortcuts

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