SDK
SDK Dart v2.x
2

GetMyRights #

Returns the rights for the currently logged in user within the SDK instance.

Arguments #

Future<List<Map<String, dynamic>>> getMyRights()

Return #

A List.

Usage #

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