getStrategies method

Future<List<String>> getStrategies()

Get all the strategies registered in Kuzzle by all auth plugins

Implementation

Future<List<String>> getStrategies() async {
  final response = await kuzzle.query(KuzzleRequest(
    controller: name,
    action: 'getStrategies',
  ));

  return (response.result as List<dynamic>)
      .map<String>((a) => a as String)
      .toList();
}