IdentityConfigurationElement.MaximumClockSkew 属性
定义
获取或设置为此标识配置元素配置的最大时钟偏差。Gets or sets the maximum clock skew that is configured for this identity configuration element.
public:
property TimeSpan MaximumClockSkew { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.IdentityModel.Configuration.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("maximumClockSkew", DefaultValue=Mono.Cecil.CustomAttributeArgument, IsRequired=false)]
public TimeSpan MaximumClockSkew { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.IdentityModel.Configuration.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("maximumClockSkew", DefaultValue=Mono.Cecil.CustomAttributeArgument, IsRequired=false)>]
member this.MaximumClockSkew : TimeSpan with get, set
Public Property MaximumClockSkew As TimeSpan
属性值
最大时钟偏差。The maximum clock skew.
- 属性
注解
与 <identityConfiguration> 元素的 maximumClockSkew 属性相对应。Corresponds to the maximumClockSkew attribute of the <identityConfiguration> element. 控制执行区分时间的操作时允许的最大时钟偏差,如验证登录会话的过期时间。Controls the maximum allowed clock skew when performing time-sensitive operations, such as validating the expiration time of a sign-in session.