diff options
Diffstat (limited to 'src/DotNetOpenAuth/OpenId/OpenIdRelyingParty.cs')
-rw-r--r-- | src/DotNetOpenAuth/OpenId/OpenIdRelyingParty.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth/OpenId/OpenIdRelyingParty.cs b/src/DotNetOpenAuth/OpenId/OpenIdRelyingParty.cs index cc7c5f5..a67b223 100644 --- a/src/DotNetOpenAuth/OpenId/OpenIdRelyingParty.cs +++ b/src/DotNetOpenAuth/OpenId/OpenIdRelyingParty.cs @@ -6,9 +6,7 @@ namespace DotNetOpenAuth.OpenId { using System; - using System.Collections.Generic; - using System.Linq; - using System.Text; + using DotNetOpenAuth.Configuration; using DotNetOpenAuth.Messaging; using DotNetOpenAuth.OpenId.ChannelElements; using DotNetOpenAuth.OpenId.Messages; @@ -26,6 +24,7 @@ namespace DotNetOpenAuth.OpenId { this.Channel = new OpenIdChannel(); this.AssociationStore = associationStore; + this.SecuritySettings = RelyingPartySection.Configuration.SecuritySettings.CreateSecuritySettings(); } /// <summary> @@ -34,6 +33,11 @@ namespace DotNetOpenAuth.OpenId { public Channel Channel { get; internal set; } /// <summary> + /// Gets the security settings used by this Relying Party. + /// </summary> + public RelyingParty.RelyingPartySecuritySettings SecuritySettings { get; internal set; } + + /// <summary> /// Gets the association store. /// </summary> internal IAssociationStore<Uri> AssociationStore { get; private set; } |