user-service
Preparing search index...
application/ports/in/UserService
UserService
Interface UserService
interface
UserService
{
changePassword
(
args
:
{
id
:
string
;
newPassword
:
string
}
,
)
:
Promise
<
ChangePasswordResponse
>
;
createHouseholdUser
(
args
:
{
password
:
string
;
username
:
string
}
,
)
:
Promise
<
CreateUserResponse
>
;
deleteHouseholdUser
(
args
:
{
id
:
string
}
)
:
Promise
<
DeleteUserResponse
>
;
getHouseholdUsers
()
:
Promise
<
UserOutput
[]
>
;
getUser
(
args
:
{
id
:
string
}
)
:
Promise
<
GetUserByIdResponse
>
;
getUserByUsername
(
args
:
{
username
:
string
}
,
)
:
Promise
<
GetUserByUsernameResponse
>
;
resetAdminPassword
(
args
:
{
newPassword
:
string
;
resetCode
:
string
}
,
)
:
Promise
<
ResetAdminPasswordResponse
>
;
updateUsername
(
args
:
{
id
:
string
;
newUsername
:
string
}
,
)
:
Promise
<
UpdateUsernameResponse
>
;
}
Implemented by
UserServiceImpl
Index
Methods
change
Password
create
Household
User
delete
Household
User
get
Household
Users
get
User
get
User
By
Username
reset
Admin
Password
update
Username
Methods
change
Password
changePassword
(
args
:
{
id
:
string
;
newPassword
:
string
}
,
)
:
Promise
<
ChangePasswordResponse
>
Parameters
args
:
{
id
:
string
;
newPassword
:
string
}
Returns
Promise
<
ChangePasswordResponse
>
create
Household
User
createHouseholdUser
(
args
:
{
password
:
string
;
username
:
string
}
,
)
:
Promise
<
CreateUserResponse
>
Parameters
args
:
{
password
:
string
;
username
:
string
}
Returns
Promise
<
CreateUserResponse
>
delete
Household
User
deleteHouseholdUser
(
args
:
{
id
:
string
}
)
:
Promise
<
DeleteUserResponse
>
Parameters
args
:
{
id
:
string
}
Returns
Promise
<
DeleteUserResponse
>
get
Household
Users
getHouseholdUsers
()
:
Promise
<
UserOutput
[]
>
Returns
Promise
<
UserOutput
[]
>
get
User
getUser
(
args
:
{
id
:
string
}
)
:
Promise
<
GetUserByIdResponse
>
Parameters
args
:
{
id
:
string
}
Returns
Promise
<
GetUserByIdResponse
>
get
User
By
Username
getUserByUsername
(
args
:
{
username
:
string
}
,
)
:
Promise
<
GetUserByUsernameResponse
>
Parameters
args
:
{
username
:
string
}
Returns
Promise
<
GetUserByUsernameResponse
>
reset
Admin
Password
resetAdminPassword
(
args
:
{
newPassword
:
string
;
resetCode
:
string
}
,
)
:
Promise
<
ResetAdminPasswordResponse
>
Parameters
args
:
{
newPassword
:
string
;
resetCode
:
string
}
Returns
Promise
<
ResetAdminPasswordResponse
>
update
Username
updateUsername
(
args
:
{
id
:
string
;
newUsername
:
string
}
,
)
:
Promise
<
UpdateUsernameResponse
>
Parameters
args
:
{
id
:
string
;
newUsername
:
string
}
Returns
Promise
<
UpdateUsernameResponse
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
change
Password
create
Household
User
delete
Household
User
get
Household
Users
get
User
get
User
By
Username
reset
Admin
Password
update
Username
user-service
Loading...