UserKeyStoreKeychain
public class UserKeyStoreKeychain : UserKeyStore
Provides secure storage for the User key via the iOS Keychain. This is the default implementation of UserKeyStore.
-
Undocumented
Declaration
Swift
public init() -
Retrieve the saved userKey from the Keychain.
Declaration
Swift
public var currentUserKey: String? { get }Return Value
the user key, or nil if none exists
-
Saves the userKey to the keychain.
Declaration
Swift
public func save(userKey: String)Parameters
keythe user key to save
-
Removes the userKey from the keychain.
Declaration
Swift
public func removeUserKey()
View on GitHub
UserKeyStoreKeychain Class Reference