Class KeyStoreCredentialPersistence
Provides a default means of persisting credentials using the Android Keystore API.
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
Target | Versions |
---|---|
.NET Android | 200.2 - 200.5 |
Xamarin.Android | 100.10 - 100.14 |