diff --git a/Sources/S3Signer/Expiration.swift b/Sources/S3Signer/Expiration.swift index a232351..5df9628 100755 --- a/Sources/S3Signer/Expiration.swift +++ b/Sources/S3Signer/Expiration.swift @@ -6,6 +6,9 @@ public enum Expiration { public typealias Seconds = Int + /// 15 minutes + case fifteenMinutes + /// 30 minutes case thirtyMinutes @@ -25,6 +28,8 @@ extension Expiration { /// Expiration Value var value: Seconds { switch self { + case .fifteenMinutes: + return 60 * 15 case .thirtyMinutes: return 60 * 30 case .hour: