Show / Hide Table of Contents

Class AppDataCredentialPersistence

Provides a default means of persisting application credentials.

Inheritance
System.Object
CredentialPersistence
AppDataCredentialPersistence
CredentialPersistence.CreateDefaultAsync(Nullable<String>)
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class AppDataCredentialPersistence : CredentialPersistence
Remarks

Credentials are encrypted using the Data Protection API and then stored in a secure settings container alongside the application.

Properties

Name Description
PersistenceId

Gets the persistence ID.

Methods

Name Description
Add(Credential)

Adds the specified credential.

Clear()

Removes all credentials from the device.

CreateAsync(Nullable<String>)

Creates a new AppDataCredentialPersistence object asynchronously with the specified persistence ID.

GetCredentials()

Returns a collection that contains all credentials managed by this instance.

Remove(Credential)

Removes the specified credential.

Update(Credential)

Updates the specified credential.

Applies to

TargetVersions
UWP100.9 - 100.15
In This Article
Back to top Copyright © 2022 Esri.