Edit

Share via


FederationManagement.UpdateIdentityProviderTrustInfo Method

Definition

Updates the specified application configuration, if needed, based on the specified Federation Metadata document.

Overloads

UpdateIdentityProviderTrustInfo(XmlReader, XmlReader, Boolean)

Updates the specified application configuration, if needed, based on the specified Federation Metadata document and a value that specifies whether the claims offered list should be updated.

UpdateIdentityProviderTrustInfo(XmlReader, XmlReader, Boolean, MetadataSerializer)

Updates the specified application configuration, if needed, based on the specified Federation Metadata document and a value that specifies whether the claims offered list should be updated. The serializer with which to read the security token service (STS) metadata is also specified.

UpdateIdentityProviderTrustInfo(XmlReader, XmlReader, XmlNodeReader, XmlNodeReader)

Updates the specified application configuration, if needed, based on the specified Federation Metadata document. Returns the configuration elements for the issuer name registry, as well as the configuration elements for the updated list of claims types offered, if it has been updated.

UpdateIdentityProviderTrustInfo(XmlReader, XmlReader, XmlNodeReader, XmlNodeReader, MetadataSerializer)

Updates the specified application configuration, if needed, based on the specified Federation Metadata document. Returns configuration elements for the issuer name registry, as well as the configuration elements for the updated list of claims types offered, if it has been updated. The serializer with which to read the security token service (STS) metadata is also specified.

UpdateIdentityProviderTrustInfo(XmlReader, XmlReader, Boolean)

Updates the specified application configuration, if needed, based on the specified Federation Metadata document and a value that specifies whether the claims offered list should be updated.

public:
 static System::Xml::XmlReader ^ UpdateIdentityProviderTrustInfo(System::Xml::XmlReader ^ metadataReader, System::Xml::XmlReader ^ inputConfiguration, bool claimsOfferedUpdate);
public static System.Xml.XmlReader UpdateIdentityProviderTrustInfo (System.Xml.XmlReader metadataReader, System.Xml.XmlReader inputConfiguration, bool claimsOfferedUpdate);
static member UpdateIdentityProviderTrustInfo : System.Xml.XmlReader * System.Xml.XmlReader * bool -> System.Xml.XmlReader
Public Shared Function UpdateIdentityProviderTrustInfo (metadataReader As XmlReader, inputConfiguration As XmlReader, claimsOfferedUpdate As Boolean) As XmlReader

Parameters

metadataReader
XmlReader

An XML reader that contains the metadata document.

inputConfiguration
XmlReader

An XML reader that contains the configuration.

claimsOfferedUpdate
Boolean

true if the claims offered list should be updated; otherwise, false.

Returns

An XML reader that contains the updated configuration or null if the configuration could not be updated.

Exceptions

metadataReader is null.

-or-

inputConfiguration is null.

Applies to

UpdateIdentityProviderTrustInfo(XmlReader, XmlReader, Boolean, MetadataSerializer)

Updates the specified application configuration, if needed, based on the specified Federation Metadata document and a value that specifies whether the claims offered list should be updated. The serializer with which to read the security token service (STS) metadata is also specified.

public:
 static System::Xml::XmlReader ^ UpdateIdentityProviderTrustInfo(System::Xml::XmlReader ^ metadataReader, System::Xml::XmlReader ^ inputConfiguration, bool claimsOfferedUpdate, System::IdentityModel::Metadata::MetadataSerializer ^ metadataSerializer);
public static System.Xml.XmlReader UpdateIdentityProviderTrustInfo (System.Xml.XmlReader metadataReader, System.Xml.XmlReader inputConfiguration, bool claimsOfferedUpdate, System.IdentityModel.Metadata.MetadataSerializer metadataSerializer);
static member UpdateIdentityProviderTrustInfo : System.Xml.XmlReader * System.Xml.XmlReader * bool * System.IdentityModel.Metadata.MetadataSerializer -> System.Xml.XmlReader
Public Shared Function UpdateIdentityProviderTrustInfo (metadataReader As XmlReader, inputConfiguration As XmlReader, claimsOfferedUpdate As Boolean, metadataSerializer As MetadataSerializer) As XmlReader

Parameters

metadataReader
XmlReader

An XML reader that contains the metadata document.

inputConfiguration
XmlReader

An XML reader that contains the configuration.

claimsOfferedUpdate
Boolean

true if the claims offered list should be updated; otherwise, false.

metadataSerializer
MetadataSerializer

The serializer with which to read the STS metadata.

Returns

An XML reader that contains the updated configuration or null if the configuration could not be updated.

Exceptions

metadataReader is null.

-or-

inputConfiguration is null.

-or-

metadataSerializer is null.

Applies to

UpdateIdentityProviderTrustInfo(XmlReader, XmlReader, XmlNodeReader, XmlNodeReader)

Updates the specified application configuration, if needed, based on the specified Federation Metadata document. Returns the configuration elements for the issuer name registry, as well as the configuration elements for the updated list of claims types offered, if it has been updated.

public:
 static void UpdateIdentityProviderTrustInfo(System::Xml::XmlReader ^ metadataReader, System::Xml::XmlReader ^ inputConfiguration, [Runtime::InteropServices::Out] System::Xml::XmlNodeReader ^ % newIssuerNameRegistry, [Runtime::InteropServices::Out] System::Xml::XmlNodeReader ^ % claimTypesOffered);
public static void UpdateIdentityProviderTrustInfo (System.Xml.XmlReader metadataReader, System.Xml.XmlReader inputConfiguration, out System.Xml.XmlNodeReader newIssuerNameRegistry, out System.Xml.XmlNodeReader claimTypesOffered);
static member UpdateIdentityProviderTrustInfo : System.Xml.XmlReader * System.Xml.XmlReader * XmlNodeReader * XmlNodeReader -> unit
Public Shared Sub UpdateIdentityProviderTrustInfo (metadataReader As XmlReader, inputConfiguration As XmlReader, ByRef newIssuerNameRegistry As XmlNodeReader, ByRef claimTypesOffered As XmlNodeReader)

Parameters

metadataReader
XmlReader

An XML reader that contains the metadata document.

inputConfiguration
XmlReader

An XML reader that contains the configuration.

newIssuerNameRegistry
XmlNodeReader

When this method returns, contains an XML node reader that contains the elements that specify the issuer name registry. null if there are is no issuer name registry specified. This parameter is treated as uninitialized.

claimTypesOffered
XmlNodeReader

When this method returns, if the list of claim types offered has been changed, contains an XML node reader that contains elements that specify new list. If the list has not been changed, returns null. This parameter is treated as uninitialized.

Exceptions

metadataReader is null.

-or-

inputConfigurationmetadataReader is null.

Applies to

UpdateIdentityProviderTrustInfo(XmlReader, XmlReader, XmlNodeReader, XmlNodeReader, MetadataSerializer)

Updates the specified application configuration, if needed, based on the specified Federation Metadata document. Returns configuration elements for the issuer name registry, as well as the configuration elements for the updated list of claims types offered, if it has been updated. The serializer with which to read the security token service (STS) metadata is also specified.

public:
 static void UpdateIdentityProviderTrustInfo(System::Xml::XmlReader ^ metadataReader, System::Xml::XmlReader ^ inputConfiguration, [Runtime::InteropServices::Out] System::Xml::XmlNodeReader ^ % newIssuerNameRegistry, [Runtime::InteropServices::Out] System::Xml::XmlNodeReader ^ % claimTypesOffered, System::IdentityModel::Metadata::MetadataSerializer ^ metadataSerializer);
public static void UpdateIdentityProviderTrustInfo (System.Xml.XmlReader metadataReader, System.Xml.XmlReader inputConfiguration, out System.Xml.XmlNodeReader newIssuerNameRegistry, out System.Xml.XmlNodeReader claimTypesOffered, System.IdentityModel.Metadata.MetadataSerializer metadataSerializer);
static member UpdateIdentityProviderTrustInfo : System.Xml.XmlReader * System.Xml.XmlReader * XmlNodeReader * XmlNodeReader * System.IdentityModel.Metadata.MetadataSerializer -> unit
Public Shared Sub UpdateIdentityProviderTrustInfo (metadataReader As XmlReader, inputConfiguration As XmlReader, ByRef newIssuerNameRegistry As XmlNodeReader, ByRef claimTypesOffered As XmlNodeReader, metadataSerializer As MetadataSerializer)

Parameters

metadataReader
XmlReader

An XML reader that contains the metadata document.

inputConfiguration
XmlReader

An XML reader that contains the configuration.

newIssuerNameRegistry
XmlNodeReader

When this method returns, contains an XML node reader that contains the elements that specify the issuer name registry. null if there are is no issuer name registry specified. This parameter is treated as uninitialized.

claimTypesOffered
XmlNodeReader

When this method returns, if the list of claim types offered has been changed, contains an XML node reader that contains elements that specify new list. If the list has not been changed, returns null. This parameter is treated as uninitialized.

metadataSerializer
MetadataSerializer

The serializer with which to read the STS metadata.

Exceptions

metadataReader is null.

-or-

inputConfiguration is null.

-or-

metadataSerializer is null.

Applies to