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();
Edit this page on Github(opens new window)