Property Persistence
Persistence
Gets or sets the credential persistence.
Declaration
public CredentialPersistence Persistence { get; set; }
Property Value
Type | Description |
---|---|
CredentialPersistence |
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
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 |