Infrastructure.

This commit is contained in:
Max Goedjen
2021-11-06 19:18:58 -07:00
parent 33ecabef20
commit 29be661b46
3 changed files with 45 additions and 8 deletions

View File

@@ -21,6 +21,12 @@ public protocol SecretStoreModifiable: SecretStore {
}
public protocol SecretStoreAuthenticationPersistable: SecretStore {
func persistAuthentication(secret: SecretType, forDuration: TimeInterval) throws
}
extension NSNotification.Name {
static let secretStoreUpdated = NSNotification.Name("com.maxgoedjen.Secretive.secretStore.updated")