SDK
SDK Dart v2.x
2

GetStrategies #

Gets all authentication strategies registered in Kuzzle.

Arguments #

Future<List<String>> getStrategies()

Return #

An List representing the available authentication strategies.

Usage #

await kuzzle
  .auth
  .login(
    'local',
    {
      'username': 'foo',
      'password': 'bar'
    },
);
final result = await kuzzle
  .auth
  .getStrategies();