SwiftprotocolLocalAuthenticationCore

protocol LocalAuthenticationCore.LACAutoLockPersisting

Members 12

  1. funcmethod descriptor for clearCurrentPeriodStart(for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async -> ()
  2. funcmethod descriptor for clearTriggerTimestamp() async -> ()
  3. funcmethod descriptor for loadBackoffState() async -> LocalAuthenticationCore.LACAutoLockBackoffState
  4. funcmethod descriptor for loadCurrentPeriodStart(for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async -> Foundation.Date?
  5. funcmethod descriptor for loadDisconnectionCount(for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async -> Int?
  6. funcmethod descriptor for loadPeriods(for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async -> [LocalAuthenticationCore.LACDateRange]
  7. funcmethod descriptor for loadTriggerTimestamp() async -> Foundation.Date?
  8. funcmethod descriptor for saveBackoffState(LocalAuthenticationCore.LACAutoLockBackoffState) async -> ()
  9. funcmethod descriptor for saveCurrentPeriodStart(_: Foundation.Date, for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async -> ()
  10. funcmethod descriptor for saveDisconnectionCount(_: Int, for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async -> ()
  11. funcmethod descriptor for savePeriods(_: [LocalAuthenticationCore.LACDateRange], for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async -> ()
  12. funcmethod descriptor for saveTriggerTimestamp(Foundation.Date) async -> ()
protocol LACAutoLockPersisting: AnyObject {
    func loadPeriods(for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async -> [LocalAuthenticationCore.LACDateRange]
    func savePeriods(_: [LocalAuthenticationCore.LACDateRange], for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async
    func loadCurrentPeriodStart(for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async -> Foundation.Date?
    func saveCurrentPeriodStart(_: Foundation.Date, for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async
    func clearCurrentPeriodStart(for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async
    func loadDisconnectionCount(for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async -> Swift.Int?
    func saveDisconnectionCount(_: Swift.Int, for: LocalAuthenticationCore.LACAutoLockSignalIdentifier) async
    func loadTriggerTimestamp() async -> Foundation.Date?
    func saveTriggerTimestamp(_: Foundation.Date) async
    func clearTriggerTimestamp() async
    func loadBackoffState() async -> LocalAuthenticationCore.LACAutoLockBackoffState
    func saveBackoffState(_: LocalAuthenticationCore.LACAutoLockBackoffState) async
}