//-----------------------------------------------------------------------
//
// Copyright (c) Outercurve Foundation. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.Configuration {
using System;
using System.Configuration;
///
/// A configuration element that records a trusted Provider Endpoint.
///
internal class TrustedProviderEndpointConfigurationElement : ConfigurationElement {
///
/// The name of the attribute that stores the value.
///
private const string ProviderEndpointConfigName = "endpoint";
///
/// Initializes a new instance of the class.
///
public TrustedProviderEndpointConfigurationElement() {
}
///
/// Gets or sets the OpenID Provider Endpoint (aka "OP Endpoint") that this relying party trusts.
///
[ConfigurationProperty(ProviderEndpointConfigName, IsRequired = true, IsKey = true)]
public Uri ProviderEndpoint {
get { return (Uri)this[ProviderEndpointConfigName]; }
set { this[ProviderEndpointConfigName] = value; }
}
}
}