FederationManagement.CreateApplicationFederationMetadata Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an XML document that contains Federation Metadata.
public:
static System::Xml::XmlReader ^ CreateApplicationFederationMetadata(Uri ^ applicationUri, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::Collections::ObjectModel::Collection<System::IdentityModel::Metadata::DisplayClaim ^> ^ claimsRequired, System::IdentityModel::Services::ApplicationType applicationType, System::Collections::ObjectModel::Collection<Uri ^> ^ audienceUris);
public static System.Xml.XmlReader CreateApplicationFederationMetadata (Uri applicationUri, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Collections.ObjectModel.Collection<System.IdentityModel.Metadata.DisplayClaim> claimsRequired, System.IdentityModel.Services.ApplicationType applicationType, System.Collections.ObjectModel.Collection<Uri> audienceUris);
static member CreateApplicationFederationMetadata : Uri * System.Security.Cryptography.X509Certificates.X509Certificate2 * System.Collections.ObjectModel.Collection<System.IdentityModel.Metadata.DisplayClaim> * System.IdentityModel.Services.ApplicationType * System.Collections.ObjectModel.Collection<Uri> -> System.Xml.XmlReader
Public Shared Function CreateApplicationFederationMetadata (applicationUri As Uri, certificate As X509Certificate2, claimsRequired As Collection(Of DisplayClaim), applicationType As ApplicationType, audienceUris As Collection(Of Uri)) As XmlReader
Parameters
- applicationUri
- Uri
The application URI.
- certificate
- X509Certificate2
The X.509 certificate to use to sign the metadata.
- claimsRequired
- Collection<DisplayClaim>
The claims required by the application.
- applicationType
- ApplicationType
One of the ApplicationType values that specifies the type of application that the metadata describes. This is used to determine the endpoints to create.
- audienceUris
- Collection<Uri>
The collection of acceptable URIs that can be used for this application.
Returns
An XML reader that contains the metadata document that was created by using the parameters.