Documentation ¶
Index ¶
- type UserState
- type UsersManager
- func (t *UsersManager) CheckUser(ctx context.Context, name string, password string) ([]string, bool)
- func (t *UsersManager) DeleteUser(ctx context.Context, name string) error
- func (s *UsersManager) Init(context *contexts.VendorContext, config managers.ManagerConfig, ...) error
- func (t *UsersManager) UpsertUser(ctx context.Context, name string, password string, roles []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UsersManager ¶
type UsersManager struct { managers.Manager StateProvider states.IStateProvider }
func (*UsersManager) DeleteUser ¶
func (t *UsersManager) DeleteUser(ctx context.Context, name string) error
func (*UsersManager) Init ¶
func (s *UsersManager) Init(context *contexts.VendorContext, config managers.ManagerConfig, providers map[string]providers.IProvider) error
func (*UsersManager) UpsertUser ¶
Click to show internal directories.
Click to hide internal directories.