authenticate method Null safety
- AuthPayload payload
Authenticates with payload and sets the authToken
Implementation
Future<AuthToken> authenticate(AuthPayload payload) async {
  await workflowController.changeState(AuthStatus.authenticating);
  final result = await _adapterFactory.authenticate(payload);
  _saveAuthToken(result);
  return result;
}