Редагувати

Поділитися через


WsFederationConfiguration Class

Definition

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

public ref class WsFederationConfiguration
public class WsFederationConfiguration
type WsFederationConfiguration = class
Public Class WsFederationConfiguration
Inheritance
WsFederationConfiguration

Remarks

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.

Constructors

WsFederationConfiguration(String, String)

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

WsFederationConfiguration(WSFederationElement)

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

Fields

DefaultFreshness

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

DefaultMaxArrayLength

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

DefaultMaxStringContentLength

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

DefaultPassiveRedirectEnabled

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

DefaultPersistentCookiesOnPassiveRedirects

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

DefaultRequireHttps

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

Properties

AuthenticationType

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

CustomAttributes

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

Freshness

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

HomeRealm

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

Issuer

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

PassiveRedirectEnabled

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

PersistentCookiesOnPassiveRedirects

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

Policy

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

Realm

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

Reply

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

Request

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

RequestPtr

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

RequireHttps

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

Resource

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

SignInQueryString

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

SignOutQueryString

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.

SignOutReply

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

XmlDictionaryReaderQuotas

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

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also