Example #1
0
 public RedisClientStore(string connStr, string key, int db = 0, ISecretEncryptor secretEncryptor = null)
     : base(connStr, db)
 {
     _key             = key;
     _secertEncryptor = secretEncryptor ?? new DefaultSecretEncryptor();
 }
Example #2
0
 public RedisTokenInfoStore(string connStr, int db = 0, string prefix = "rt:", ISecretEncryptor secretEncryptor = null)
     : base(connStr, db)
 {
     _prefix          = prefix;
     _secertEncryptor = secretEncryptor ?? new DefaultSecretEncryptor();
 }