Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserManagementService ¶
type UserManagementService interface { // user_info functions GetUserInfo(tpEmail, projectTag string) (user *models.ThirdUser, err error) GetUserInfoById(tpAccountId, projectTag string) (user *models.ThirdUser, err error) SetUserInfo(userInfo models.ThirdUser, projectTag string) (err error) UpdateUserInfo(userInfo models.ThirdUser, projectTag string) (err error) UpdateUserGroup(userInfo models.ThirdUser, projectTag string) (err error) UpdatePassword(userInfo models.ThirdUser, projectTag string) (err error) DeleteUserInfo(tpAccountId, projectTag string) (err error) // security_code functions SetSecurityCodeInfo(securityCode models.SecurityCode, projectTag string) (err error) GetSecurityCodeInfo(securityCodeStr, useCase, projectTag string) (securityCode models.SecurityCode, err error) DisableSecurityCode(securityCode, useCase, projectTag string) (err error) // user group functions GetUserGroup(userGroupName, projectTag string) (userGroup *models.UserGroup, err error) GetUserGroups(projectTag string) (userGroups []*models.UserGroup, err error) GetUserGroupForUser(tpAccountId, projectTag string) (user *models.UserGroup, err error) CreateUserGroup(userGroup models.UserGroup, projectTag string) (err error) DeleteUserGroup(userGroupName, projectTag string) (err error) UpdateUserGroupList(userGroup models.UserGroup, projectTag string) (err error) SetDefaultUserGroup(userGroupName, projectTag string) (err error) GetDefaultUserGroup(projectTag string) (userGroup *models.UserGroup, err error) }
func NewUserManagementService ¶
func NewUserManagementService(store userManagementStore.UserManagementStore, projStore projectStore.ProjectStore) UserManagementService
Click to show internal directories.
Click to hide internal directories.