def generate_challenge(user: str, passwd: str, device_token: str, sendviasms: bool) -> str:
    """
    Generate a 2FA challenge ID. Can be rolled into other packages later.
    For now, generates a mock ID.
    """
    if sendviasms:
        challenge_type = "sms"
    else:
        challenge_type = "email"
    
    #Placeholder mock challange ID. To be filled in later with 2FA service.
    return 'mock_challangeid1'