Jasny\SSO\Server::createCacheAdapter PHP Method

createCacheAdapter() protected method

Create a cache to store the broker session id.
protected createCacheAdapter ( ) : Desarrolla2\Cache\Cache
return Desarrolla2\Cache\Cache
    protected function createCacheAdapter()
    {
        $adapter = new Adapter\File($this->options['files_cache_directory']);
        $adapter->setOption('ttl', $this->options['files_cache_ttl']);
        return new Cache($adapter);
    }