A base class for types of ArcGIS credentials used to access secured resources. This is a base class for ArcGIS credentials requiring OAuth or ArcGIS Token authentication, such as OAuthUserCredential, OAuthApplicationCredential, PregeneratedTokenCredential and TokenCredential.
The URL by which the root of a server is accessed. This is the URL against which rest endpoints are resolved. For example, "https://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0" would have a server context of "https://sampleserver3.arcgisonline.com/ArcGIS", on which we could add "/rest/info" or "/rest" to fetch the server information.