summaryrefslogtreecommitdiffstats
path: root/samples/DotNetOpenAuth.ApplicationBlock
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2011-04-06 20:17:51 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2011-04-06 20:17:51 -0700
commitc676c0940ca93006fd3feec16a460f962aa8a350 (patch)
tree5aaf60b1a6cd6c5ac19662c465be69edf8d3682e /samples/DotNetOpenAuth.ApplicationBlock
parentf0789dcc0fed89c23b36e2c239afd9a11e6ff4f2 (diff)
downloadDotNetOpenAuth-c676c0940ca93006fd3feec16a460f962aa8a350.zip
DotNetOpenAuth-c676c0940ca93006fd3feec16a460f962aa8a350.tar.gz
DotNetOpenAuth-c676c0940ca93006fd3feec16a460f962aa8a350.tar.bz2
Fixed build breaks and StyleCop messages from prior commit.
Diffstat (limited to 'samples/DotNetOpenAuth.ApplicationBlock')
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/UIRequestAtRelyingPartyFactory.cs (renamed from samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/UIRequestWithHasSession.cs)8
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/DotNetOpenAuth.ApplicationBlock.csproj2
2 files changed, 9 insertions, 1 deletions
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/UIRequestWithHasSession.cs b/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/UIRequestAtRelyingPartyFactory.cs
index 2fa70a3..e8adfe3 100644
--- a/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/UIRequestWithHasSession.cs
+++ b/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/UIRequestAtRelyingPartyFactory.cs
@@ -28,6 +28,14 @@ namespace DotNetOpenAuth.ApplicationBlock.CustomExtensions {
/// Allows UIRequest extensions to be received by the relying party. Useful when Google mirrors back the request
/// to indicate that a user is logged in.
/// </summary>
+ /// <param name="typeUri">The type URI of the extension.</param>
+ /// <param name="data">The parameters associated specifically with this extension.</param>
+ /// <param name="baseMessage">The OpenID message carrying this extension.</param>
+ /// <param name="isProviderRole">A value indicating whether this extension is being received at the OpenID Provider.</param>
+ /// <returns>
+ /// An instance of <see cref="IOpenIdMessageExtension"/> if the factory recognizes
+ /// the extension described in the input parameters; <c>null</c> otherwise.
+ /// </returns>
public DotNetOpenAuth.OpenId.Messages.IOpenIdMessageExtension Create(string typeUri, IDictionary<string, string> data, IProtocolMessageWithExtensions baseMessage, bool isProviderRole) {
if (typeUri == UITypeUri && !isProviderRole) {
return new UIRequest();
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/DotNetOpenAuth.ApplicationBlock.csproj b/samples/DotNetOpenAuth.ApplicationBlock/DotNetOpenAuth.ApplicationBlock.csproj
index 64cf154..5a3e532 100644
--- a/samples/DotNetOpenAuth.ApplicationBlock/DotNetOpenAuth.ApplicationBlock.csproj
+++ b/samples/DotNetOpenAuth.ApplicationBlock/DotNetOpenAuth.ApplicationBlock.csproj
@@ -87,7 +87,7 @@
<Compile Include="CustomExtensions\Acme.cs" />
<Compile Include="CustomExtensions\AcmeRequest.cs" />
<Compile Include="CustomExtensions\AcmeResponse.cs" />
- <Compile Include="CustomExtensions\UIRequestWithHasSession.cs" />
+ <Compile Include="CustomExtensions\UIRequestAtRelyingPartyFactory.cs" />
<Compile Include="GoogleConsumer.cs" />
<Compile Include="InMemoryTokenManager.cs">
<SubType>Code</SubType>