SDK
SDK Dart Null Safety v3.x
2

GetMyRights #

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

Arguments #

Copied to clipboard!
Future<List<Map<String, dynamic>>> getMyRights()

Return #

A List.

Usage #

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