e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
51 lines
1.7 KiB
C#
51 lines
1.7 KiB
C#
//------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
|
|
namespace System.IdentityModel.Metadata
|
|
{
|
|
/// <summary>
|
|
/// Defines an SSO descriptor.
|
|
/// </summary>
|
|
public class SingleSignOnDescriptor : RoleDescriptor
|
|
{
|
|
IndexedProtocolEndpointDictionary artifactResolutionServices = new IndexedProtocolEndpointDictionary();
|
|
Collection<ProtocolEndpoint> singleLogoutServices = new Collection<ProtocolEndpoint>();
|
|
Collection<Uri> nameIdFormats = new Collection<Uri>();
|
|
|
|
/// <summary>
|
|
/// Empty constructor.
|
|
/// </summary>
|
|
public SingleSignOnDescriptor()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the a collection of URIs representing the supported name identifier formats.
|
|
/// </summary>
|
|
public ICollection<Uri> NameIdentifierFormats
|
|
{
|
|
get { return this.nameIdFormats; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the <see cref="IndexedProtocolEndpointDictionary"/> instance representing the artifact resolution services.
|
|
/// </summary>
|
|
public IndexedProtocolEndpointDictionary ArtifactResolutionServices
|
|
{
|
|
get { return this.artifactResolutionServices; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the collection of <see cref="ProtocolEndpoint"/> representing the single logout service endpoints.
|
|
/// </summary>
|
|
public Collection<ProtocolEndpoint> SingleLogoutServices
|
|
{
|
|
get { return this.singleLogoutServices; }
|
|
}
|
|
}
|
|
}
|