Class AppDataCredentialPersistence
Provides a default means of persisting application credentials.
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 AppDataCredentialPersistence : CredentialPersistence
Remarks
Credentials are encrypted using the Data Protection API and then stored in a secure settings container alongside the application. This API is only supported for use with MSIX packaged applications.
Properties
Name | Description |
---|---|
IsSupported | Gets a value indicating whether this is a packaged application that supports securely saving credentials in the application storage. |
PersistenceId | Gets the persistence ID. |
Methods
Name | Description |
---|---|
Add(Credential) | Adds the specified credential. |
Clear() | Removes all credentials from the device. |
CreateAsync(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
Target | Versions |
---|---|
.NET Windows | 200.0 - 200.5 |
UWP | 100.9 - 200.5 |