public void DiscoverYahooOpenIDServer() { var info = OpenID.GetIdentityServer("http://www.yahoo.com/".ToUri()).ToArray(); var server = info.FirstOrDefault(); server.Should().Not.Be.Null(); server.Server.ToString().Should().Equal("https://open.login.yahooapis.com/openid/op/auth"); }
public void DiscoverGoogleOpenIDServer() { var info = OpenID.GetIdentityServer("https://www.google.com/accounts/o8/id".ToUri()).ToArray(); var server = info.FirstOrDefault(); server.Should().Not.Be.Null(); server.Server.ToString().Should().Equal("https://www.google.com/accounts/o8/ud"); }