hasCredentials #
Checks if a user has credentials registered for the specified authentication strategy.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/credentials/<strategy>/<_id>/_exists
Method: GET
Other protocols #
{
"controller": "security",
"action": "hasCredentials",
"strategy": "<strategy>",
"_id": "<kuid>"
}
Arguments #
_id
: user kuidstrategy
: authentication strategy
Response #
Returns a boolean telling whether the user can log in using the provided authentication strategy.
{
"status": 200,
"error": null,
"action": "hasCredentials",
"controller": "security",
"_id": "<kuid>",
"result": true
}
Edit this page on Github(opens new window)