From a5534ace000e518f37c80e3670198bc1dcf47ca7 Mon Sep 17 00:00:00 2001
From: Spomky <Spomky@users.noreply.github.com>
Date: Fri, 30 Sep 2016 09:06:37 +0200
Subject: [PATCH] Update JWKFactoryInterface.php

---
 src/Factory/JWKFactoryInterface.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Factory/JWKFactoryInterface.php b/src/Factory/JWKFactoryInterface.php
index 1c4fc625..10f7687d 100644
--- a/src/Factory/JWKFactoryInterface.php
+++ b/src/Factory/JWKFactoryInterface.php
@@ -155,7 +155,7 @@ public static function createFromKey($key, $password = null, array $additional_v
      *
      * @return \Jose\Object\JWKSetInterface
      */
-    public static function createFromJKU($jku, $allow_unsecured_connection = false, CacheItemPoolInterface $cache = null, $ttl = 300);
+    public static function createFromJKU($jku, $allow_unsecured_connection = false, CacheItemPoolInterface $cache = null, $ttl = 86400);
 
     /**
      * @param string                                 $x5u
@@ -165,7 +165,7 @@ public static function createFromJKU($jku, $allow_unsecured_connection = false,
      *
      * @return \Jose\Object\JWKSetInterface
      */
-    public static function createFromX5U($x5u, $allow_unsecured_connection = false, CacheItemPoolInterface $cache = null, $ttl = 300);
+    public static function createFromX5U($x5u, $allow_unsecured_connection = false, CacheItemPoolInterface $cache = null, $ttl = 86400);
 
     /**
      * @param array $x5c