Skip to main content

Class: StrategiesController

api-login/strategy/strategies.controller.StrategiesController

Controller providing (read only) access to existing strategies (strategy types)

Constructors​

constructor​

• new StrategiesController(strategiesService)

Parameters​

NameType
strategiesServiceStrategiesService

Defined in​

login-service/src/api-login/strategy/strategies.controller.ts:14

Properties​

strategiesService​

• Private Readonly strategiesService: StrategiesService

Defined in​

login-service/src/api-login/strategy/strategies.controller.ts:14

Methods​

getAllStrategyTypes​

▸ getAllStrategyTypes(): GetStrategyResponse[]

Returns all known strategies (strategy types) that are registered in the system

Returns​

GetStrategyResponse[]

List of strategies (types) registered in the system

Defined in​

login-service/src/api-login/strategy/strategies.controller.ts:27


getStrategyType​

▸ getStrategyType(type): GetStrategyResponse

Gets details for the one specified strategy type

Parameters​

NameTypeDescription
typestringThe strategy type name of the strategy to retrieve

Returns​

GetStrategyResponse

The strategy (type) referenced by the name

Defined in​

login-service/src/api-login/strategy/strategies.controller.ts:47