public SasTokenValidator() { policies = new Dictionary <string, ISasPolicy>(); // add default policy var policy = SASPolicyFactory.CreatePolicy("sk", DefaultSecret, 60); policies.Add("testKey", policy); }
public SasTokenValidator(HashType hashType, string keyName, string sharedSecret) : this() { var policy = SASPolicyFactory.CreatePolicy(keyName, sharedSecret, 60); policies.Add("testKey", policy); }