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

gropius-login-service/backend/src/api-login/strategy/strategies.controller.ts:13

Properties

strategiesService

Private Readonly strategiesService: StrategiesService

Defined in

gropius-login-service/backend/src/api-login/strategy/strategies.controller.ts:13

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

gropius-login-service/backend/src/api-login/strategy/strategies.controller.ts:26


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

gropius-login-service/backend/src/api-login/strategy/strategies.controller.ts:46