Login
public struct Login
extension Login: Sendable
extension Login: Equatable, Hashable
A login stored in the database
-
Declaration
Swift
public var id: String -
Declaration
Swift
public var timesUsed: Int64 -
Declaration
Swift
public var timeCreated: Int64 -
Declaration
Swift
public var timeLastUsed: Int64 -
Declaration
Swift
public var timePasswordChanged: Int64 -
Declaration
Swift
public var origin: String -
Declaration
Swift
public var httpRealm: String? -
Declaration
Swift
public var formActionOrigin: String? -
Declaration
Swift
public var usernameField: String -
Declaration
Swift
public var passwordField: String -
Declaration
Swift
public var password: String -
Declaration
Swift
public var username: String -
These fields can be synced from Desktop and are NOT included in LoginEntry, so update() will not modify them. Use the dedicated API methods to manipulate: record_breach(), reset_all_breaches(), is_potentially_breached(), record_breach_alert_dismissal(), record_breach_alert_dismissal_time(), and is_breach_alert_dismissed().
Declaration
Swift
public var timeOfLastBreach: Int64? -
Declaration
Swift
public var timeLastBreachAlertDismissed: Int64? -
init(id:timesUsed: timeCreated: timeLastUsed: timePasswordChanged: origin: httpRealm: formActionOrigin: usernameField: passwordField: password: username: timeOfLastBreach: timeLastBreachAlertDismissed: ) Declaration
Swift
public init(id: String, timesUsed: Int64, timeCreated: Int64, timeLastUsed: Int64, timePasswordChanged: Int64, origin: String, httpRealm: String?, formActionOrigin: String?, usernameField: String, passwordField: String, password: String, username: String, /** * These fields can be synced from Desktop and are NOT included in LoginEntry, * so update() will not modify them. Use the dedicated API methods to manipulate: * record_breach(), reset_all_breaches(), is_potentially_breached(), * record_breach_alert_dismissal(), record_breach_alert_dismissal_time(), * and is_breach_alert_dismissed(). */timeOfLastBreach: Int64?, timeLastBreachAlertDismissed: Int64?) -
Declaration
Swift
public static func == (lhs: Login, rhs: Login) -> Bool -
Declaration
Swift
public func hash(into hasher: inout Hasher)