Show / Hide Table of Contents

Method FindCredential

FindCredential(Uri)

Returns the token credential for the resource identified by the specified url.

Declaration
public TokenCredential FindCredential(Uri serviceUri)
Parameters
Type Name Description
Uri serviceUri

The service uri.

Returns
Type Description
TokenCredential

A TokenCredential for accessing secured ArcGIS resources.

Applies to

Platforms and versions
TargetVersions
UWP100.15

FindCredential(Uri, AuthenticationType)

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

Declaration
public Credential FindCredential(Uri serviceUri, AuthenticationType authenticationType)
Parameters
Type Name Description
Uri serviceUri

The service uri.

AuthenticationType authenticationType

Authentication type supported by the credential.

Returns
Type Description
Credential

A Credential for accessing secured ArcGIS resources.

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.