Class: CloneBayUserService

Constructors

constructor

new CloneBayUserService(userService, tokenService): CloneBayUserService

Parameters

NameType
userServiceUserService
tokenServiceTokenService

Returns

CloneBayUserService

Defined in

lib/src/api/clone-bay-user.service.ts:8open in new window

Methods

findById

findById(userId): Promise<User>

Parameters

NameType
userIdstring

Returns

Promise<User>

Defined in

lib/src/api/clone-bay-user.service.ts:13open in new window


revokeTokens

revokeTokens(userId): Promise<void>

Parameters

NameType
userIdstring

Returns

Promise<void>

Defined in

lib/src/api/clone-bay-user.service.ts:18open in new window