diff options
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2/OAuth2')
-rw-r--r-- | src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IClientAuthenticationModule.cs | 23 |
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); - } -} |