SDK
SDK Dart Null Safety v3.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();