using System; using System.Collections.Generic; using System.Text; namespace DotNetOpenId.Provider { sealed class ProviderSecuritySettings : SecuritySettings { internal ProviderSecuritySettings() : base(true) { } // This property is a placeholder for a feature that has not been written yet. /// /// Gets/sets whether OpenID 1.x relying parties that may not be /// protecting their users from replay attacks are protected from /// replay attacks by this provider. /// /// /// Nonces for protection against replay attacks were not mandated /// by OpenID 1.x, which leaves users open to replay attacks. /// This feature works by preventing associations from being formed /// with OpenID 1.x relying parties, thereby forcing them into /// "dumb" mode and verifying every claim with this provider. /// This gives the provider an opportunity to verify its own nonce /// to protect against replay attacks. /// internal bool ProtectDownlevelReplayAttacks { get; set; } } }