Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserManager ¶
type UserManager interface { AddUser(arg params.ModifyUsers) (params.ErrorResults, error) RemoveUser(arg params.Entities) (params.ErrorResults, error) }
UserManager defines the methods on the usermanager API end point.
type UserManagerAPI ¶
type UserManagerAPI struct {
// contains filtered or unexported fields
}
UserManagerAPI implements the user manager interface and is the concrete implementation of the api end point.
func NewUserManagerAPI ¶
func NewUserManagerAPI( st *state.State, authorizer common.Authorizer, ) (*UserManagerAPI, error)
func (*UserManagerAPI) AddUser ¶
func (api *UserManagerAPI) AddUser(args params.ModifyUsers) (params.ErrorResults, error)
func (*UserManagerAPI) RemoveUser ¶
func (api *UserManagerAPI) RemoveUser(args params.Entities) (params.ErrorResults, error)
func (*UserManagerAPI) UserInfo ¶
func (api *UserManagerAPI) UserInfo(args params.Entities) (params.UserInfoResults, error)
UserInfo returns information on a user.
Click to show internal directories.
Click to hide internal directories.