diff options
-rw-r--r-- | src/DotNetOpenAuth/OpenId/Interop/AuthenticationResponseShim.cs | 7 |
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 { |