WsFederationConfiguration Class

.NET Framework (current version)
 

Contains all of the configuration settings needed by the WS-Federation Authentication Module (WSFederationAuthenticationModule).

Namespace:   System.IdentityModel.Services.Configuration
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

System.Object
  System.IdentityModel.Services.Configuration.WsFederationConfiguration

public class WsFederationConfiguration

NameDescription
System_CAPS_pubmethodWsFederationConfiguration(String, String)

Initializes a new instance of the WsFederationConfiguration class by using the specified issuer and realm.

System_CAPS_pubmethodWsFederationConfiguration(WSFederationElement)

Initializes a new instance of the WsFederationConfiguration class from the specified <wsFederation> element.

NameDescription
System_CAPS_pubpropertyAuthenticationType

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

System_CAPS_pubpropertyCustomAttributes

Gets a dictionary that contains any extra attributes specified in the <wsFederation> element in the configuration file.

System_CAPS_pubpropertyFreshness

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

System_CAPS_pubpropertyHomeRealm

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

System_CAPS_pubpropertyIssuer

Gets or sets a URI that identifies the intended issuer of the security token.

System_CAPS_pubpropertyPassiveRedirectEnabled

Gets or sets a value that specifies whether the module is enabled to initiate WS-Federation protocol redirects.

System_CAPS_pubpropertyPersistentCookiesOnPassiveRedirects

Gets or sets a value that specifies whether a persistent session cookie is issued on successful authentication.

System_CAPS_pubpropertyPolicy

Gets or sets the value of the wp parameter to be used in WS-Federation sign-in requests (“wsignin1.0”).

System_CAPS_pubpropertyRealm

Gets or sets the value of the wtrealm parameter to be used for WS-Federation sign-in requests (“wsignin1.0”).

System_CAPS_pubpropertyReply

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

System_CAPS_pubpropertyRequest

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

System_CAPS_pubpropertyRequestPtr

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

System_CAPS_pubpropertyRequireHttps

Gets or sets a value that specifies whether communication with the security token service (STS) must use HTTPS protocol.

System_CAPS_pubpropertyResource

Get or sets the value of the wres parameter to use in WS-Federation sign-in requests (“wsignin1.0”).

System_CAPS_pubpropertySignInQueryString

Gets or sets a query string that contains any additional parameters to be sent in WS-Federation sign-in requests (“wsignin1.0”).

System_CAPS_pubpropertySignOutQueryString

Gets or sets a query string that contains any additional parameters to be sent in WS-Federation sign-out requests (“wsignout1.0”) during passive sign-out.

System_CAPS_pubpropertySignOutReply

Gets or sets the value of the wreply parameter to use during WS-Federation sign-out requests (“wsignout1.0”).

System_CAPS_pubpropertyXmlDictionaryReaderQuotas

Gets or sets the configurable quota values for XML dictionary readers used by this instance.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticDefaultFreshness

A constant that contains the default value for the Freshness property; zero.

System_CAPS_pubfieldSystem_CAPS_staticDefaultMaxArrayLength

A constant that sets the default MaxArrayLength property of the XML dictionary reader quotas object referenced by the XmlDictionaryReaderQuotas property.

System_CAPS_pubfieldSystem_CAPS_staticDefaultMaxStringContentLength

A constant that sets the default MaxStringContentLength property of the XML dictionary reader quotas object referenced by the XmlDictionaryReaderQuotas property.

System_CAPS_pubfieldSystem_CAPS_staticDefaultPassiveRedirectEnabled

A constant that contains the default value for the PassiveRedirectEnabled property; true, passive redirects are enabled.

System_CAPS_pubfieldSystem_CAPS_staticDefaultPersistentCookiesOnPassiveRedirects

A constant that contains the default value for the PersistentCookiesOnPassiveRedirects property; false, cookies are not enabled.

System_CAPS_pubfieldSystem_CAPS_staticDefaultRequireHttps

A constant that contains the default value for the RequireHttps property; true, HTTPS is required on redirects.

An instance of the WsFederationConfiguration class that is set on the FederationConfiguration object accessed through the FederatedAuthentication.FederationConfiguration property contains the settings that are used to initialize the properties of the WS-Federation Authentication Module (WSFAM) and control its behavior. These settings are typically loaded from the <wsFederation> element in the configuration file.

.NET Framework
Available since 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: