Skip to main content

Class: StrategiesService

model/services/strategies.service.StrategiesService

Constructors

constructor

new StrategiesService()

Properties

allStrategies

Private Readonly allStrategies: Map<string, Strategy>

Defined in

gropius-login-service/backend/src/model/services/strategies.service.ts:6

Methods

addStrategy

addStrategy(name, strategy): void

Parameters

NameType
namestring
strategyStrategy

Returns

void

Defined in

gropius-login-service/backend/src/model/services/strategies.service.ts:16


getAllStrategies

getAllStrategies(): Strategy[]

Returns

Strategy[]

Defined in

gropius-login-service/backend/src/model/services/strategies.service.ts:23


getStrategyByName

getStrategyByName(name): Strategy

Parameters

NameType
namestring

Returns

Strategy

Defined in

gropius-login-service/backend/src/model/services/strategies.service.ts:8


hasStrategy

hasStrategy(name): boolean

Parameters

NameType
namestring

Returns

boolean

Defined in

gropius-login-service/backend/src/model/services/strategies.service.ts:12