whoami method

Future<Identity> whoami()

Who the Hub resolves these credentials to.

Implementation

Future<Identity> whoami() async =>
    Identity.fromJson(await _object(await get('/whoami')));