Class: CloneBayUserService
Constructors
constructor
• new CloneBayUserService(userService
, tokenService
): CloneBayUserService
Parameters
Name | Type |
---|---|
userService | UserService |
tokenService | TokenService |
Returns
Defined in
lib/src/api/clone-bay-user.service.ts:8
Methods
findById
▸ findById(userId
): Promise
<User
>
Parameters
Name | Type |
---|---|
userId | string |
Returns
Promise
<User
>
Defined in
lib/src/api/clone-bay-user.service.ts:13
revokeTokens
▸ revokeTokens(userId
): Promise
<void
>
Parameters
Name | Type |
---|---|
userId | string |
Returns
Promise
<void
>