WSFederationAuthenticationModule.Freshness 属性

This is an optional property applicable when FederationAuthenticationModule. PassiveRedirectEnabled is set to true. Use this property to get or set and optional parameter that identifies the desired maximum age of authentication specified in minutes.

命名空间: Microsoft.IdentityModel.Web
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim instance As WSFederationAuthenticationModule
Dim value As String

value = instance.Freshness

instance.Freshness = value

语法

声明
Public Property Freshness As String
public string Freshness { get; set; }
public:
property String^ Freshness {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Freshness ()

/** @property */
public void set_Freshness (String value)
public function get Freshness () : String

public function set Freshness (value : String)

属性值

Returns String.

备注

This parameter manifests itself as wfresh query string parameter in WS-Federation protocol.

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

请参见

参考

WSFederationAuthenticationModule 类
WSFederationAuthenticationModule 成员
Microsoft.IdentityModel.Web 命名空间