• Extracts the portal url from a supplied authentication.

    Parameters

    • authentication: UserSession

      Credentials for the request to AGO

    Returns string

    Portal url to be used in API requests, defaulting to https://www.arcgis.com