Lines Matching refs:options

19     AsyncFunction("getValueWithKeyAsync") { (key: String, options: SecureStoreOptions) -> String? in  in definition()
24 let data = try searchKeyChain(with: key, options: options) in definition()
33 …AsyncFunction("setValueWithKeyAsync") { (value: String, key: String, options: SecureStoreOptions) … in definition()
38 return try set(value: value, with: key, options: options) in definition()
41 AsyncFunction("deleteValueWithKeyAsync") { (key: String, options: SecureStoreOptions) in in definition()
42 let searchDictionary = query(with: key, options: options) in definition()
47 private func set(value: String, with key: String, options: SecureStoreOptions) throws -> Bool { in set()
48 var query = query(with: key, options: options) in set()
53 let accessibility = attributeWith(options: options) in set()
55 if !options.requireAuthentication { in set()
71 return try update(value: value, with: key, options: options) in set()
77 private func update(value: String, with key: String, options: SecureStoreOptions) throws -> Bool { in update()
78 var query = query(with: key, options: options) in update()
83 if let authPrompt = options.authenticationPrompt { in update()
96 private func searchKeyChain(with key: String, options: SecureStoreOptions) throws -> Data? { in searchKeyChain()
97 var query = query(with: key, options: options) in searchKeyChain()
102 if let authPrompt = options.authenticationPrompt { in searchKeyChain()
122 private func query(with key: String, options: SecureStoreOptions) -> [String: Any] { in query()
123 let service = options.keychainService ?? "app" in query()
134 private func attributeWith(options: SecureStoreOptions) -> CFString { in attributeWith()
135 switch options.keychainAccessible { in attributeWith()