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