diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-11 17:28:32 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-11 17:28:32 -0700 |
commit | 4307ac5a82ded114b43ad033f580a8faa0591696 (patch) | |
tree | de7a71e071607c5d2286ff11ccb69330aaa619b5 /src | |
parent | 6124a72da2a772be0740862f30e10a860ef9ec9e (diff) | |
download | DotNetOpenAuth-4307ac5a82ded114b43ad033f580a8faa0591696.zip DotNetOpenAuth-4307ac5a82ded114b43ad033f580a8faa0591696.tar.gz DotNetOpenAuth-4307ac5a82ded114b43ad033f580a8faa0591696.tar.bz2 |
Fixed AspNet project's Yahoo! OpenID client to use the HTTPS scheme.
Also switched both Yahoo and Google clients to use the WellKnownProviders class instead of embedding the magic strings itself.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth.AspNet/Clients/OpenID/GoogleOpenIdClient.cs | 2 | ||||
-rw-r--r-- | src/DotNetOpenAuth.AspNet/Clients/OpenID/YahooOpenIdClient.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.AspNet/Clients/OpenID/GoogleOpenIdClient.cs b/src/DotNetOpenAuth.AspNet/Clients/OpenID/GoogleOpenIdClient.cs index 34531c0..9e36f16 100644 --- a/src/DotNetOpenAuth.AspNet/Clients/OpenID/GoogleOpenIdClient.cs +++ b/src/DotNetOpenAuth.AspNet/Clients/OpenID/GoogleOpenIdClient.cs @@ -19,7 +19,7 @@ namespace DotNetOpenAuth.AspNet.Clients { /// Initializes a new instance of the <see cref="GoogleOpenIdClient"/> class. /// </summary> public GoogleOpenIdClient() - : base("google", "https://www.google.com/accounts/o8/id") { } + : base("google", WellKnownProviders.Google) { } #endregion diff --git a/src/DotNetOpenAuth.AspNet/Clients/OpenID/YahooOpenIdClient.cs b/src/DotNetOpenAuth.AspNet/Clients/OpenID/YahooOpenIdClient.cs index fd5f847..72d1837 100644 --- a/src/DotNetOpenAuth.AspNet/Clients/OpenID/YahooOpenIdClient.cs +++ b/src/DotNetOpenAuth.AspNet/Clients/OpenID/YahooOpenIdClient.cs @@ -19,7 +19,7 @@ namespace DotNetOpenAuth.AspNet.Clients { /// Initializes a new instance of the <see cref="YahooOpenIdClient"/> class. /// </summary> public YahooOpenIdClient() - : base("yahoo", "http://me.yahoo.com") { } + : base("yahoo", WellKnownProviders.Yahoo) { } #endregion |