I cannot figure out how to use another Cache service for storing my nonces using the WsseAuthentication. The documentation is unclear to me. Can anybody help me setup my nonce cache for use with Redis?
Currently, I know how to add a new nonce cache service id, like this:
firewalls:
#...
wsse_secured:
#...
wsse:
#...
nonce_cache_service_id: cache_nonces
and I know how to create this service id:
services:
cache_nonces:
class: Doctrine\Common\Cache\RedisCache
arguments: ???
But I don't know what arguments to give. When I use RedisCache, it expects a Redis object, and I dont know where to get this object and add this to arguments.