summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-09-06 13:08:29 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-09-06 13:09:10 -0700
commit51f1c6b78e53cc06a0e6900ee28a03805f484b20 (patch)
tree5edb4b390ffcaa10a138b6ddbe911fbcae3bbbc4
parentf235630cbd6a8a5c63142a088f6ec518051d17b5 (diff)
downloadDotNetOpenAuth-51f1c6b78e53cc06a0e6900ee28a03805f484b20.zip
DotNetOpenAuth-51f1c6b78e53cc06a0e6900ee28a03805f484b20.tar.gz
DotNetOpenAuth-51f1c6b78e53cc06a0e6900ee28a03805f484b20.tar.bz2
Exposed OP Endpoint to OpenID RP COM Server.
-rw-r--r--src/DotNetOpenAuth/OpenId/Interop/AuthenticationResponseShim.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth/OpenId/Interop/AuthenticationResponseShim.cs b/src/DotNetOpenAuth/OpenId/Interop/AuthenticationResponseShim.cs
index 6319c02..c0354ac 100644
--- a/src/DotNetOpenAuth/OpenId/Interop/AuthenticationResponseShim.cs
+++ b/src/DotNetOpenAuth/OpenId/Interop/AuthenticationResponseShim.cs
@@ -92,6 +92,13 @@ namespace DotNetOpenAuth.OpenId.Interop {
}
/// <summary>
+ /// Gets the provider endpoint that sent the assertion.
+ /// </summary>
+ public string ProviderEndpoint {
+ get { return this.response.Provider != null ? this.response.Provider.Uri.AbsoluteUri : null; }
+ }
+
+ /// <summary>
/// Gets a value indicating whether the authentication attempt succeeded.
/// </summary>
public bool Successful {