2592000)'); if ($expire === NULL) { $expire = 0; } SimpleSAML_Memcache::set('simpleSAMLphp.' . $type . '.' . $key, $value, $expire); } /** * Delete a value from the datastore. * * @param string $type The datatype. * @param string $key The key. */ public function delete($type, $key) { assert('is_string($type)'); assert('is_string($key)'); SimpleSAML_Memcache::delete('simpleSAMLphp.' . $type . '.' . $key); } }