userManagementService

package
v0.0.0-...-27c9e6d Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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)
}

Jump to

Keyboard shortcuts

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