import requests


def verify_rackspace_identity(token: str) -> requests.Response:
    """Call Rackspace Identity and verify provided token."""
    url = "https://heimdall.api.manage.rackspace.com/v2.0/tokens/{}"
    headers = {"X-Auth-Token": token}

    # This will use the retries/timeouts configured above.
    return requests.get(url.format(token), headers=headers)