login method

Future<String> login ()

Sends the login request to the server and returns the auth token. See loginByRequest.

Implementation

Future<String> login() async => (await loginByRequest(
        LoginRequest(_configuration.username, _configuration.password)))
    .authToken;