diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-09-17 09:31:14 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-09-17 09:31:14 -0700 |
commit | a657a72b7f6fb89d1a8adb82d2888a8d3f7f9bab (patch) | |
tree | 0d6d65a309ea68ae579789a3c3edf9401ca5fd8b /src/DotNetOpenAuth.OpenId/Configuration/OpenIdRelyingPartyElement.cs | |
parent | 8c4b9e212fb967f8cbb83cc8e6fe1960b8663bb5 (diff) | |
parent | 4e616f9b5b125bde2bf4e936cd5b0030ddfa94f1 (diff) | |
download | DotNetOpenAuth-a657a72b7f6fb89d1a8adb82d2888a8d3f7f9bab.zip DotNetOpenAuth-a657a72b7f6fb89d1a8adb82d2888a8d3f7f9bab.tar.gz DotNetOpenAuth-a657a72b7f6fb89d1a8adb82d2888a8d3f7f9bab.tar.bz2 |
Merge branch 'SlowGoogleServerWorkaround' into v4.1
Diffstat (limited to 'src/DotNetOpenAuth.OpenId/Configuration/OpenIdRelyingPartyElement.cs')
-rw-r--r-- | src/DotNetOpenAuth.OpenId/Configuration/OpenIdRelyingPartyElement.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.OpenId/Configuration/OpenIdRelyingPartyElement.cs b/src/DotNetOpenAuth.OpenId/Configuration/OpenIdRelyingPartyElement.cs index 7d8c050..8af1129 100644 --- a/src/DotNetOpenAuth.OpenId/Configuration/OpenIdRelyingPartyElement.cs +++ b/src/DotNetOpenAuth.OpenId/Configuration/OpenIdRelyingPartyElement.cs @@ -47,6 +47,11 @@ namespace DotNetOpenAuth.Configuration { private const string DiscoveryServicesElementName = "discoveryServices"; /// <summary> + /// The name of the <hostMetaDiscovery> sub-element. + /// </summary> + private const string HostMetaDiscoveryElementName = "hostMetaDiscovery"; + + /// <summary> /// The built-in set of identifier discovery services. /// </summary> private static readonly TypeConfigurationCollection<IIdentifierDiscoveryService> defaultDiscoveryServices = @@ -99,6 +104,15 @@ namespace DotNetOpenAuth.Configuration { } /// <summary> + /// Gets or sets the host meta discovery configuration element. + /// </summary> + [ConfigurationProperty(HostMetaDiscoveryElementName)] + internal HostMetaDiscoveryElement HostMetaDiscovery { + get { return (HostMetaDiscoveryElement)this[HostMetaDiscoveryElementName] ?? new HostMetaDiscoveryElement(); } + set { this[HostMetaDiscoveryElementName] = value; } + } + + /// <summary> /// Gets or sets the services to use for discovering service endpoints for identifiers. /// </summary> /// <remarks> |