From fb86b0ffe9ec84d6828f19337a571993967de35d Mon Sep 17 00:00:00 2001 From: Iurii Date: Mon, 21 Jan 2019 05:37:05 +0300 Subject: [PATCH] Add a comment --- Sources/Services/BiometricsService.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/Services/BiometricsService.swift b/Sources/Services/BiometricsService.swift index 5b0178d..926eaeb 100644 --- a/Sources/Services/BiometricsService.swift +++ b/Sources/Services/BiometricsService.swift @@ -29,6 +29,9 @@ public final class BiometricsService { private lazy var laContext = LAContext() + /// If the user unlocks the device using biometrics within the specified time interval, + /// then authentication for the receiver succeeds automatically, without prompting the user for biometrics. + /// Works only after device unlock event, no other apps authentications counts. public var allowableReuseDuration: TimeInterval? = nil { didSet { guard let duration = allowableReuseDuration else {