getUserStrategies #
Gets the available authentication strategies of a user.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/users/<_id>/_strategies
Method: GET
Other protocols #
{
"controller": "security",
"action": "getUserStrategies",
"_id": "<kuid>"
}
Arguments #
_id
: user kuid
Response #
Returns an object with the following properties:
strategies
: array containing all the available authentication strategies on the requested user.total
: total number of strategies found for that user.
{
"status": 200,
"error": null,
"result": {
"strategies": ["local"],
"total": 1
}
}
Edit this page on Github(opens new window)