//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.IdentityModel.Metadata { /// /// Defines a descriptor for the SPSSO. /// public class ServiceProviderSingleSignOnDescriptor : SingleSignOnDescriptor { bool _authenticationRequestsSigned; bool _wantAssertionsSigned; IndexedProtocolEndpointDictionary _assertionConsumerServices = new IndexedProtocolEndpointDictionary(); /// /// Empty constructor. /// public ServiceProviderSingleSignOnDescriptor() : this(new IndexedProtocolEndpointDictionary()) { } /// /// Constructs an SPSSO descriptor with the input /// /// A object for this instance. public ServiceProviderSingleSignOnDescriptor(IndexedProtocolEndpointDictionary collection) { _assertionConsumerServices = collection; } /// /// Gets the for this instance. /// public IndexedProtocolEndpointDictionary AssertionConsumerServices { get { return _assertionConsumerServices; } } /// /// Gets or sets the AuthnRequestsSigned attribute. /// public bool AuthenticationRequestsSigned { get { return _authenticationRequestsSigned; } set { _authenticationRequestsSigned = value; } } /// /// Gets or sets the WantAssertionsSigned attribute. /// public bool WantAssertionsSigned { get { return _wantAssertionsSigned; } set { _wantAssertionsSigned = value; } } } }