//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IdentityModel.Protocols.WSTrust; namespace System.IdentityModel.Metadata { /// /// Defines a web service descriptor. /// public abstract class WebServiceDescriptor : RoleDescriptor { Collection _claimTypesOffered = new Collection(); Collection _claimTypesRequested = new Collection(); string _serviceDisplayName; string _serviceDescription; Collection _targetScopes = new Collection(); Collection _tokenTypesOffered = new Collection(); /// /// Empty constructor. /// protected WebServiceDescriptor() { } /// /// Gets a collection of representing the claim types offered. /// public ICollection ClaimTypesOffered { get { return _claimTypesOffered; } } /// /// Gets a collection of representing the claim types requested. /// public ICollection ClaimTypesRequested { get { return _claimTypesRequested; } } /// /// Gets or sets the service description. /// public string ServiceDescription { get { return _serviceDescription; } set { _serviceDescription = value; } } /// /// Gets or sets the service display name. /// public string ServiceDisplayName { get { return _serviceDisplayName; } set { _serviceDisplayName = value; } } /// /// Gets a collection of representing the target scopes. /// public ICollection TargetScopes { get { return _targetScopes; } } /// /// Gets the collection of token types offered. /// public ICollection TokenTypesOffered { get { return _tokenTypesOffered; } } } }