GetCurrentUser #
Returns informations about the user currently loggued with the SDK instance.
Arguments #
Future<KuzzleUser> getCurrentUser()
Return #
A User representing the current user logged with the SDK.
Usage #
await kuzzle
.auth
.login(
'local',
{
'username': 'foo',
'password': 'bar'
},
);
KuzzleUser user = await kuzzle
.auth
.getCurrentUser();
Edit this page on Github(opens new window)