summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2/OAuth2
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-04-18 21:21:34 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-04-18 21:21:34 -0700
commit548147a67be56f046a7d4515d61a8210d78677de (patch)
tree95ad7e72f40c60637569b30f292cd5ad9f583737 /src/DotNetOpenAuth.OAuth2/OAuth2
parent1cefb24fd021a0292c13d6bfd61bd81543d4dfce (diff)
downloadDotNetOpenAuth-548147a67be56f046a7d4515d61a8210d78677de.zip
DotNetOpenAuth-548147a67be56f046a7d4515d61a8210d78677de.tar.gz
DotNetOpenAuth-548147a67be56f046a7d4515d61a8210d78677de.tar.bz2
Fixed up the configuration story for OAuth 2.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2/OAuth2')
-rw-r--r--src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IClientAuthenticationModule.cs23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IClientAuthenticationModule.cs b/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IClientAuthenticationModule.cs
deleted file mode 100644
index 470e533..0000000
--- a/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IClientAuthenticationModule.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-//-----------------------------------------------------------------------
-// <copyright file="IClientAuthenticationModule.cs" company="Andrew Arnott">
-// Copyright (c) Andrew Arnott. All rights reserved.
-// </copyright>
-//-----------------------------------------------------------------------
-
-namespace DotNetOpenAuth.OAuth2.ChannelElements {
- using DotNetOpenAuth.Messaging;
-
- /// <summary>
- /// An interface implemented by extension that can read incoming messages and extract the client identifier and
- /// possibly authentication information (like a shared secret, signed nonce, etc.)
- /// </summary>
- public interface IClientAuthenticationModule {
- /// <summary>
- /// Attempts to extract client identification/authentication information from a message.
- /// </summary>
- /// <param name="requestMessage">The incoming message. Always an instance of <see cref="AuthenticatedClientRequestBase"/></param>
- /// <param name="clientIdentifier">Receives the client identifier, if one was found.</param>
- /// <returns>The level of the extracted client information.</returns>
- ClientAuthenticationResult TryAuthenticateClient(IDirectedProtocolMessage requestMessage, out string clientIdentifier);
- }
-}