Edit

Share via


WSFederationAuthenticationModule.Freshness Property

Definition

Gets or sets the value of the wfresh parameter to use in WS-Federation sign-in requests ("wsignin1.0").

public:
 property System::String ^ Freshness { System::String ^ get(); void set(System::String ^ value); };
public string Freshness { get; set; }
member this.Freshness : string with get, set
Public Property Freshness As String

Property Value

The desired maximum age of authentication requests, in minutes.

Remarks

The wfresh parameter is optional. If the Freshness property is set to null or an empty string, the wfresh parameter is not included in the sign-in request.

You can override this setting on each HTTP request by adding a handler for the RedirectingToIdentityProvider event. This event is raised just before the module redirects to the security token service (STS) with a WS-Federation sign-in request message. The STS is specified by the Issuer property.

Applies to