Class CredentialPersistence
Provides a mechanism for persisting credentials.
Inheritance
System.Object
CredentialPersistence
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 abstract class CredentialPersistence
Constructors
| Name | Description |
|---|---|
| CredentialPersistence() | Initializes a new instance of the CredentialPersistence class. |
Methods
| Name | Description |
|---|---|
| Add(Credential) | Called whenever a new credential should be persisted. |
| Clear() | Called whenever all persisted credentials should be cleared. |
| CreateDefault(String) | Creates a default CredentialPersistence object for the current platform. |
| CreateDefaultAsync(String) | Creates a default CredentialPersistence object for the current platform and ensures it is loaded. |
| GetCredentials() | Called whenever all persisted credentials have been requested by the AuthenticationManager. |
| Remove(Credential) | Called whenever a persisted credential should be removed. |
| Update(Credential) | Called whenever a persisted credential should be updated. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.8 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.8 - 200.8 |
| Xamarin.Android | 100.8 - 100.15 |
| Xamarin.iOS | 100.8 - 100.15 |
| UWP | 100.8 - 200.8 |