login method

Future<AccessToken> login()

Returns a valid AccessToken form the authManager.

Could throw everything the implementation of AuthenticationManager.getAccessToken could throw.

Implementation

Future<AccessToken> login() async {
  return authManager.getAccessToken();
}