providers

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RBACProvider

type RBACProvider interface {
	AddRole(c echo.Context) error
	DeleteRole(c echo.Context) error
	GetAllRoles(c echo.Context) error
	GetUserAttachedRoles(c echo.Context) error
	GetRoleAttachedUsers(c echo.Context) error
	AttachRole(c echo.Context) error
	DetachRole(c echo.Context) error
}

RBACProvider provides all the handler endpoints for RBAC actions.

type UserProvider

type UserProvider interface {
	UserLogin(c echo.Context) error
	UserGetAll(c echo.Context) error
	UserChangePassword(c echo.Context) error
	UserResetTriggerToken(c echo.Context) error
	UserDelete(c echo.Context) error
	UserAdd(c echo.Context) error
	UserGetPermissions(c echo.Context) error
	UserPutPermissions(c echo.Context) error
}

UserProvider provides all the handler endpoints for User actions.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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