Last active
August 29, 2015 14:01
-
-
Save DamirSvrtan/ae294ddf30f4ab740473 to your computer and use it in GitHub Desktop.
Redis Store Stormpath
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stormpath_client = Stormpath::Client.new(api_key: api_key, cache: { | |
regions: { | |
applications: { store: Stormpath::Cache::RedisStore, ttl_seconds: 300, tti_seconds: 300, store_opts: {:host => uri.host, :port => uri.port, :password => uri.password} }, | |
directories: { store: Stormpath::Cache::RedisStore, ttl_seconds: 300, tti_seconds: 300, store_opts: {:host => uri.host, :port => uri.port, :password => uri.password} }, | |
groups: { store: Stormpath::Cache::RedisStore, ttl_seconds: 300, tti_seconds: 300, store_opts: {:host => uri.host, :port => uri.port, :password => uri.password} } | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment