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
Name | Type |
---|---|
name | string |
strategy | Strategy |
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
Name | Type |
---|---|
name | string |
Returns
Defined in
gropius-login-service/backend/src/model/services/strategies.service.ts:8
hasStrategy
▸ hasStrategy(name
): boolean
Parameters
Name | Type |
---|---|
name | string |
Returns
boolean
Defined in
gropius-login-service/backend/src/model/services/strategies.service.ts:12