Skip to main content

Class: CreateDefaultStrategyInstanceService

initialization/create-default-strategy-instance.service.CreateDefaultStrategyInstanceService

Service that creates a new strategy instance as specified in the config variables

Listens for the lifecycle event onModuleInit of the module

Constructors

constructor

new CreateDefaultStrategyInstanceService(strategiesService, strategyInstanceService)

Parameters

NameType
strategiesServiceStrategiesService
strategyInstanceServiceStrategyInstanceService

Defined in

gropius-login-service/backend/src/initialization/create-default-strategy-instance.service.ts:13

Properties

logger

Private Readonly logger: Logger

Defined in

gropius-login-service/backend/src/initialization/create-default-strategy-instance.service.ts:12


strategiesService

Private Readonly strategiesService: StrategiesService

Defined in

gropius-login-service/backend/src/initialization/create-default-strategy-instance.service.ts:14


strategyInstanceService

Private Readonly strategyInstanceService: StrategyInstanceService

Defined in

gropius-login-service/backend/src/initialization/create-default-strategy-instance.service.ts:15

Methods

createDefaultStrtegyInstance

createDefaultStrtegyInstance(): Promise<void>

Returns

Promise<void>

Defined in

gropius-login-service/backend/src/initialization/create-default-strategy-instance.service.ts:18