code: def get_user(id=None, username=None, email=None, federated_id=None, provider=None, jwt=None):
      
      if id:
          return _user(models.AuthUser.get(id))
      elif username:
          return _user(models.AuthUser.get_by_username(username))
      elif email:
          return _user(models.AuthUser.get_by_email(email))
      elif federated_id and provider:
          user = models.AuthUserFederation.get_user(provider, federated_id)
          return _user(user) if user else None
      elif jwt:
          pass
docs: Retrieve the user based on the data provided
       
      :param id: 
      :param username: 
      :param email: 
      :param federated_id: 
      :param provider:
      :param jwt: 
      :return: AuthUser