def create_token_for_user(user: get_user_model()) -> bytes:
        """
        Create a new random auth token for user.
        """
        token = urandom(48)
        AuthToken.objects.create(
            hashed_token=AuthToken._hash_token(token),
            user=user)
        return token
Create a new random auth token for user.