summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-03-12 22:42:12 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-03-12 22:42:12 -0700
commitc70d5d24acfc147493c53fbe4d0118e4dbf72c39 (patch)
tree48961cbdaae83dec1c01c97ba5d50424ce70a32b
parentefa5647fa65e5e165c2df0560e2feb77f0389c0f (diff)
downloadDotNetOpenAuth-c70d5d24acfc147493c53fbe4d0118e4dbf72c39.zip
DotNetOpenAuth-c70d5d24acfc147493c53fbe4d0118e4dbf72c39.tar.gz
DotNetOpenAuth-c70d5d24acfc147493c53fbe4d0118e4dbf72c39.tar.bz2
Removed obsolete IAuthenticationRequest.ProviderVersion property.
-rw-r--r--src/DotNetOpenAuth/OpenId/RelyingParty/AuthenticationRequest.cs12
-rw-r--r--src/DotNetOpenAuth/OpenId/RelyingParty/IAuthenticationRequest.cs6
2 files changed, 1 insertions, 17 deletions
diff --git a/src/DotNetOpenAuth/OpenId/RelyingParty/AuthenticationRequest.cs b/src/DotNetOpenAuth/OpenId/RelyingParty/AuthenticationRequest.cs
index 8cb4e9b..c488401 100644
--- a/src/DotNetOpenAuth/OpenId/RelyingParty/AuthenticationRequest.cs
+++ b/src/DotNetOpenAuth/OpenId/RelyingParty/AuthenticationRequest.cs
@@ -128,7 +128,6 @@ namespace DotNetOpenAuth.OpenId.RelyingParty {
/// Gets a value indicating whether the authenticating user has chosen to let the Provider
/// determine and send the ClaimedIdentifier after authentication.
/// </summary>
- /// <value></value>
public bool IsDirectedIdentity {
get { return this.endpoint.ClaimedIdentifier == this.endpoint.Protocol.ClaimedIdentifierForOPIdentifier; }
}
@@ -138,19 +137,10 @@ namespace DotNetOpenAuth.OpenId.RelyingParty {
/// OpenId discovery documents found at the <see cref="ClaimedIdentifier"/>
/// location.
/// </summary>
- /// <value></value>
IProviderEndpoint IAuthenticationRequest.Provider {
get { return this.endpoint; }
}
- /// <summary>
- /// Gets the detected version of OpenID implemented by the Provider.
- /// </summary>
- /// <value></value>
- public Version ProviderVersion {
- get { return this.endpoint.Protocol.Version; }
- }
-
#endregion
/// <summary>
@@ -422,7 +412,7 @@ namespace DotNetOpenAuth.OpenId.RelyingParty {
private CheckIdRequest CreateRequestMessage() {
Association association = this.GetAssociation();
- CheckIdRequest request = new CheckIdRequest(this.ProviderVersion, this.endpoint.ProviderEndpoint, this.Mode);
+ CheckIdRequest request = new CheckIdRequest(this.endpoint.Protocol.Version, this.endpoint.ProviderEndpoint, this.Mode);
request.ClaimedIdentifier = this.endpoint.ClaimedIdentifier;
request.LocalIdentifier = this.endpoint.ProviderLocalIdentifier;
request.Realm = this.Realm;
diff --git a/src/DotNetOpenAuth/OpenId/RelyingParty/IAuthenticationRequest.cs b/src/DotNetOpenAuth/OpenId/RelyingParty/IAuthenticationRequest.cs
index 9f43fb9..a04fb71 100644
--- a/src/DotNetOpenAuth/OpenId/RelyingParty/IAuthenticationRequest.cs
+++ b/src/DotNetOpenAuth/OpenId/RelyingParty/IAuthenticationRequest.cs
@@ -70,12 +70,6 @@ namespace DotNetOpenAuth.OpenId.RelyingParty {
IProviderEndpoint Provider { get; }
/// <summary>
- /// Gets the detected version of OpenID implemented by the Provider.
- /// </summary>
- [Obsolete("Use Provider.Version instead.")]
- Version ProviderVersion { get; }
-
- /// <summary>
/// Makes a dictionary of key/value pairs available when the authentication is completed.
/// </summary>
/// <param name="arguments">The arguments to add to the request's return_to URI.</param>