Skip to content

@sourceloop/authentication-service / Exports / LoginHelperService

Class: LoginHelperService

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new LoginHelperService(userTenantRepo, logger)

Parameters

Name Type
userTenantRepo UserTenantRepository
logger ILogger

Defined in

services/authentication-service/src/services/login-helper.service.ts:16

Properties

logger

Private Readonly logger: ILogger

Defined in

services/authentication-service/src/services/login-helper.service.ts:19


userTenantRepo

Private Readonly userTenantRepo: UserTenantRepository

Defined in

services/authentication-service/src/services/login-helper.service.ts:18

Methods

verifyClientUserLogin

verifyClientUserLogin(req, client?, reqUser?): Promise<null | Pick<UserTenant, "status">>

Parameters

Name Type
req IAuthClientDTO
client? AuthClient<DataObject<Model>>
reqUser? null | Pick<AuthUser, "id" | "authClientIds">

Returns

Promise<null | Pick<UserTenant, "status">>

Defined in

services/authentication-service/src/services/login-helper.service.ts:22