Class: StrategiesController
api-login/strategy/strategies.controller.StrategiesController
Controller providing (read only) access to existing strategies (strategy types)
Constructors
constructor
• new StrategiesController(strategiesService
)
Parameters
Name | Type |
---|---|
strategiesService | StrategiesService |
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
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
Name | Type | Description |
---|---|---|
type | string | The strategy type name of the strategy to retrieve |
Returns
The strategy (type) referenced by the name
Defined in
gropius-login-service/backend/src/api-login/strategy/strategies.controller.ts:46