summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-10-29 08:10:55 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-10-29 08:10:55 -0700
commit72aae1e5b55511f6428dc66a2c00da890338dac5 (patch)
treed05d53ee654b7fdf7fb82827e16a16265c355aa0 /src
parentf64b12624553daa62376c933fb37abe667306749 (diff)
downloadDotNetOpenAuth-72aae1e5b55511f6428dc66a2c00da890338dac5.zip
DotNetOpenAuth-72aae1e5b55511f6428dc66a2c00da890338dac5.tar.gz
DotNetOpenAuth-72aae1e5b55511f6428dc66a2c00da890338dac5.tar.bz2
Exposed ability to programmatically add behaviors to RPs and OPs.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth/OpenId/Provider/OpenIdProvider.cs6
-rw-r--r--src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingParty.cs6
2 files changed, 10 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth/OpenId/Provider/OpenIdProvider.cs b/src/DotNetOpenAuth/OpenId/Provider/OpenIdProvider.cs
index 6890acb..79de919 100644
--- a/src/DotNetOpenAuth/OpenId/Provider/OpenIdProvider.cs
+++ b/src/DotNetOpenAuth/OpenId/Provider/OpenIdProvider.cs
@@ -152,7 +152,11 @@ namespace DotNetOpenAuth.OpenId.Provider {
/// <summary>
/// Gets a list of custom behaviors to apply to OpenID actions.
/// </summary>
- internal ICollection<IProviderBehavior> Behaviors {
+ /// <remarks>
+ /// Adding behaviors can impact the security settings of the <see cref="OpenIdProvider"/>
+ /// in ways that subsequently removing the behaviors will not reverse.
+ /// </remarks>
+ public ICollection<IProviderBehavior> Behaviors {
get { return this.behaviors; }
}
diff --git a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingParty.cs b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingParty.cs
index 5834b27..68dd4e9 100644
--- a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingParty.cs
+++ b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingParty.cs
@@ -222,7 +222,11 @@ namespace DotNetOpenAuth.OpenId.RelyingParty {
/// <summary>
/// Gets a list of custom behaviors to apply to OpenID actions.
/// </summary>
- internal ICollection<IRelyingPartyBehavior> Behaviors {
+ /// <remarks>
+ /// Adding behaviors can impact the security settings of this <see cref="OpenIdRelyingParty"/>
+ /// instance in ways that subsequently removing the behaviors will not reverse.
+ /// </remarks>
+ public ICollection<IRelyingPartyBehavior> Behaviors {
get { return this.behaviors; }
}