Show / Hide Table of Contents

Class KeyStoreCredentialPersistence

Provides a default means of persisting credentials using the Android Keystore API.

Inheritance
System.Object
CredentialPersistence
KeyStoreCredentialPersistence
CredentialPersistence.CreateDefaultAsync(String)
CredentialPersistence.CreateDefault(String)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class KeyStoreCredentialPersistence : CredentialPersistence
Remarks

Credentials are encrypted using the Android Keystore API and stored in a secure preferences file alongside the application.

Constructors

Name Description
KeyStoreCredentialPersistence(String)

Initializes a new instance of the KeyStoreCredentialPersistence class.

Properties

Name Description
PersistenceId

Gets the persistence ID.

Methods

Name Description
Add(Credential)

Adds the specified credential to secure storage.

Clear()

Removes all credentials from the device.

GetCredentials()

Returns a collection that contains all credentials currently stored on the device.

Remove(Credential)

Removes the specified credential from secure storage.

Update(Credential)

Updates the specified credential in secure storage.

Applies to

TargetVersions
.NET Android200.2 - 200.8
Xamarin.Android100.10 - 100.14
In This Article
Back to top Copyright © 2022 Esri.