updateCredentials method
Updates a user credentials for the specified authentication strategy.
Implementation
Future<Map<String, dynamic>> updateCredentials(
String strategy, String id, Map<String, dynamic> credentials,
{bool? waitForRefresh}) async {
final response = await kuzzle.query(KuzzleRequest(
controller: name,
action: 'updateCredentials',
strategy: strategy,
uid: id,
body: credentials,
waitForRefresh: waitForRefresh,
));
return response.result as Map<String, dynamic>;
}