KeychainItem

public struct KeychainItem

Undocumented

  • Undocumented

    Declaration

    Swift

    public let serviceName: String
  • Undocumented

    Declaration

    Swift

    public let account: String
  • Undocumented

    Declaration

    Swift

    public init(serviceName: String, account: String)
  • Undocumented

    Declaration

    Swift

    public static var accessControlWithUserPrescence: SecAccessControl? { get }
  • Undocumented

    Declaration

    Swift

    public func read(context: LAContext? = nil, message: String? = nil) throws -> Data?
  • Undocumented

    Declaration

    Swift

    public func readPassword(context: LAContext? = nil, message: String? = nil) throws -> String?
  • Undocumented

    Declaration

    Swift

    public func readJSON(context: LAContext? = nil, message: String? = nil) throws -> [String : Any]?
  • Undocumented

    Declaration

    Swift

    public func write(data: Data, with access: SecAccessControl? = nil, context: LAContext? = nil) throws
  • Undocumented

    Declaration

    Swift

    public func writePassword(_ password: String, with access: SecAccessControl? = nil, context: LAContext? = nil) throws
  • Undocumented

    Declaration

    Swift

    public func write(json: [String : Any], with access: SecAccessControl? = nil, context: LAContext? = nil) throws
  • Undocumented

    Declaration

    Swift

    public func delete() throws
  • Undocumented

    Declaration

    Swift

    public func keychainQuery() -> [String : Any]