Show / Hide Table of Contents

Class KeychainCredentialPersistence

Provides a default means of persisting credentials to the iOS Keychain.

Inheritance
System.Object
CredentialPersistence
KeychainCredentialPersistence
CredentialPersistence.CreateDefaultAsync(String)
CredentialPersistence.CreateDefault(String)
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 KeychainCredentialPersistence : CredentialPersistence

Constructors

Name Description
KeychainCredentialPersistence(String)

Initializes a new instance of the KeychainCredentialPersistence class.

Properties

Name Description
PersistenceId

Gets the persistence ID.

ShareAcrossDevices

Gets or sets a value indicating whether persisted credentials are shared across other iOS devices via the iCloud Keychain.

Methods

Name Description
Add(Credential)

Adds the specified credential to the Keychain.

Clear()

Removes all credentials from the Keychain.

GetCredentials()

Returns a collection that contains all credentials currently in the Keychain.

Remove(Credential)

Removes the specified credential from the Keychain.

Update(Credential)

Updates the specified credential within the Keychain.

Applies to

TargetVersions
.NET iOS200.0 - 200.8
Xamarin.iOS100.9 - 100.15
In This Article
Back to top Copyright © 2022 Esri.