Show / Hide Table of Contents

Class CredentialPersistence

Provides a mechanism for persisting credentials.

Inheritance
System.Object
CredentialPersistence
KeychainCredentialPersistence
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

TargetVersions
.NET Standard 2.0100.8 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.8 - 200.8
Xamarin.Android100.8 - 100.15
Xamarin.iOS100.8 - 100.15
UWP100.8 - 200.8
In This Article
Back to top Copyright © 2022 Esri.