getStrategies

Gets the exhaustive list of registered authentication strategies.


Query Syntax

HTTP

Copied to clipboard!
URL: http://kuzzle:7512/strategies
Method: GET

Other protocols

Copied to clipboard!
{
  "controller": "auth",
  "action": "getStrategies"
}

Response

The result is an array of available strategy names:

Copied to clipboard!
{
  "status": 200,
  "error": null,
  "action": "getStrategies",
  "controller": "auth",
  "result": [
    "local",
    "facebook"
  ]
}