Expose verify as public api

This commit is contained in:
Max Goedjen
2023-03-11 15:35:25 -08:00
parent 7adc5da26f
commit 49306b9457
4 changed files with 50 additions and 1 deletions

View File

@@ -40,6 +40,10 @@ extension Preview {
return data
}
func verify(data: Data, signature: Data, with secret: Preview.Secret) throws -> Bool {
true
}
func existingPersistedAuthenticationContext(secret: Preview.Secret) -> PersistedAuthenticationContext? {
nil
}