Function getPortalSharingUrlFromAuth

  • Extracts the portal sharing url from a supplied authentication.

    Parameters

    • authentication: UserSession

      Credentials for the request to AGO

    Returns string

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