Show / Hide Table of Contents

Property Persistence

Persistence

Gets or sets the credential persistence.

Declaration
public CredentialPersistence Persistence { get; set; }
Property Value
Type Description
CredentialPersistence

The credential persistence.

Remarks

When set, any existing credentials will be cleared. If the new persistence is not null, all persisted credentials will be copied to the AuthenticationManager via GetCredentials().

If your credential persistence initializes asyncronously, you can implement ILoadable, to allow setting persistence syncronously on startup or instantiate and initialize the credentials prior to assigining to the manager.

Applies to

Platforms and versions
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.