diff --git a/Sources/Packages/Tests/SecretAgentKitTests/StubStore.swift b/Sources/Packages/Tests/SecretAgentKitTests/StubStore.swift index d536236..a4fd344 100644 --- a/Sources/Packages/Tests/SecretAgentKitTests/StubStore.swift +++ b/Sources/Packages/Tests/SecretAgentKitTests/StubStore.swift @@ -71,6 +71,10 @@ extension Stub { return SecKeyCreateSignature(privateKey, signatureAlgorithm, data as CFData, nil)! as Data } + public func existingPersistedAuthenticationContext(secret: Stub.Secret) -> PersistedAuthenticationContext? { + nil + } + public func persistAuthentication(secret: Stub.Secret, forDuration duration: TimeInterval) throws { } @@ -88,6 +92,7 @@ extension Stub { let keySize: Int let publicKey: Data + let requiresAuthentication = false let privateKey: Data init(keySize: Int, publicKey: Data, privateKey: Data) {