public void LiveAuthUtility_BuildLogoutUrl_WithHostOverride()
        {
            LiveAuthClient.AuthEndpointOverride = "https://login.live-int.com";
            string url = LiveAuthUtility.BuildLogoutUrl("000000004802B729", "http://www.foo.com/callback.aspx");

            Assert.AreEqual("https://login.live-int.com/oauth20_logout.srf?client_id=000000004802B729&redirect_uri=http%3A%2F%2Fwww.foo.com%2Fcallback.aspx", url);
        }
        public void LiveAuthUtility_BuildLogoutUrl()
        {
            string url = LiveAuthUtility.BuildLogoutUrl("000000004802B729", "http://www.foo.com/callback.aspx");

            Assert.AreEqual("https://login.live.com/oauth20_logout.srf?client_id=000000004802B729&redirect_uri=http%3A%2F%2Fwww.foo.com%2Fcallback.aspx", url);
        }
 /// <summary>
 /// Gets the logout URL.
 /// </summary>
 /// <returns>The logout URL.</returns>
 public string GetLogoutUrl()
 {
     return(LiveAuthUtility.BuildLogoutUrl());
 }