Click or drag to resize

AuthenticationManagerFindCredential Method (Uri, AuthenticationType)

Returns the credential that supports the specified authentication type for the resource identified by the specified url.

Namespace:  Esri.ArcGISRuntime.Security
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.6.0.0
Syntax
public Credential FindCredential(
	Uri serviceUri,
	AuthenticationType authenticationType
)

Parameters

serviceUri
Type: SystemUri
The service uri.
authenticationType
Type: Esri.ArcGISRuntime.SecurityAuthenticationType
Authentication type supported by the credential.

Return Value

Type: Credential
A Credential for accessing secured ArcGIS resources.
Exceptions
ExceptionCondition
ArgumentNullExceptionserviceUri
See Also