public UserHashIdentityMiddleware(IEnumerable <IUserIdentityProvider> userIdentityProviders, ISaltProvider saltProvider)
 {
     m_userIdentityProviders = userIdentityProviders.ToArray();
     m_saltProvider          = saltProvider;
     m_hashAlgorithm         = new SHA256Managed();
     m_maxIdentitySize       = m_userIdentityProviders.Max(p => p.MaxBytesInIdentity);
 }
 public CalendarMembershipProvider(ICryptoProvider crypto, ISaltProvider salt)
 {
     _crypto = crypto;
     _salt = salt;
 }
 public AuthenticationPolicyProvider(IHashProvider hash, ISaltProvider salt)
     : base(hash, salt)
 { }
 protected AuthenticationPolicyProviderBase(IHashProvider hashingProvider, ISaltProvider saltProvider)
 {
     this.HashProvider = hashingProvider;
     this.SaltProvider = saltProvider;
 }