Dart 2.x

GetStrategies

Gets all authentication strategies registered in Kuzzle.

Arguments

Copied to clipboard!
Future<List<String>> getStrategies()

Return

An List representing the available authentication strategies.

Usage

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