summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-04-20 09:17:26 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2008-04-20 09:17:26 -0700
commit6334f4a61dec7d12cd176389dd2b6c63f81c13ef (patch)
tree5048a2f038196e187a64e3796fbd4446eeec1c7e
parent96b95b8e5657794fc1b74a8d906234de3b7c6729 (diff)
downloadDotNetOpenAuth-6334f4a61dec7d12cd176389dd2b6c63f81c13ef.zip
DotNetOpenAuth-6334f4a61dec7d12cd176389dd2b6c63f81c13ef.tar.gz
DotNetOpenAuth-6334f4a61dec7d12cd176389dd2b6c63f81c13ef.tar.bz2
Removed some dead extensions code.
-rw-r--r--src/DotNetOpenId/RelyingParty/AuthenticationResponse.cs15
-rw-r--r--src/DotNetOpenId/RelyingParty/FailedAuthenticationResponse.cs4
2 files changed, 1 insertions, 18 deletions
diff --git a/src/DotNetOpenId/RelyingParty/AuthenticationResponse.cs b/src/DotNetOpenId/RelyingParty/AuthenticationResponse.cs
index 373f6ed..88b222e 100644
--- a/src/DotNetOpenId/RelyingParty/AuthenticationResponse.cs
+++ b/src/DotNetOpenId/RelyingParty/AuthenticationResponse.cs
@@ -87,22 +87,9 @@ namespace DotNetOpenId.RelyingParty {
}
/// <summary>
- /// Gets the key/value pairs of a provider's response for a given OpenID extension.
- /// </summary>
- /// <param name="extensionTypeUri">
- /// The Type URI of the OpenID extension whose arguments are being sought.
- /// </param>
- /// <returns>
- /// Returns key/value pairs for this extension.
- /// </returns>
- public IDictionary<string, string> GetExtensionArguments(string extensionTypeUri) {
- return IncomingExtensions.GetExtensionArguments(extensionTypeUri);
- }
-
- /// <summary>
/// Tries to get an OpenID extension that may be present in the response.
/// </summary>
- /// <param name="extensionTypeUri">The type URI the extension is known by.</param>
+ /// <typeparam name="T">The extension to retrieve.</param>
/// <returns>The extension, if it is found. Null otherwise.</returns>
public T GetExtension<T>() where T : IExtensionResponse, new() {
T extension = new T();
diff --git a/src/DotNetOpenId/RelyingParty/FailedAuthenticationResponse.cs b/src/DotNetOpenId/RelyingParty/FailedAuthenticationResponse.cs
index 96e9846..e622d53 100644
--- a/src/DotNetOpenId/RelyingParty/FailedAuthenticationResponse.cs
+++ b/src/DotNetOpenId/RelyingParty/FailedAuthenticationResponse.cs
@@ -12,10 +12,6 @@ namespace DotNetOpenId.RelyingParty {
#region IAuthenticationResponse Members
- public IDictionary<string, string> GetExtensionArguments(string extensionTypeUri) {
- return new Dictionary<string, string>();
- }
-
public T GetExtension<T>() where T : DotNetOpenId.Extensions.IExtensionResponse, new() {
return default(T);
}