def METHOD_NAME(self, *scopes: str, **kwargs: Any) -> Dict:
    app = self._get_app(**kwargs)
    return app.acquire_token_by_username_password(
        username=self._username,
        password=self._password,
        scopes=list(scopes),
        claims_challenge=kwargs.get("claims"),
    )