// SignOut redirects the request to the sign out url.
SignOut redirects the request to the sign out url.
// SignOut redirects the request to the sign out url .
func (p *Proxy) SignOut(w http.ResponseWriter, r *http.Request) {
	p.sessionStore.ClearSession(w, r)
	redirectURL := &url.URL{
		Scheme: "https",
		Host:   r.Host,
		Path:   "/",
	}
	fullURL := p.GetSignOutURL(p.AuthenticateURL, redirectURL)
	http.Redirect(w, r, fullURL.String(), http.StatusFound)
}
func ( p * Proxy ) SignOut ( w http . ResponseWriter , r * http . Request ) { p . sessionStore . ClearSession ( w , r ) redirectURL := & url . URL { Scheme : " " , Host : r . Host , Path : " " , } fullURL := p . GetSignOutURL ( p . AuthenticateURL , redirectURL ) http . Redirect ( w , r , fullURL . String ( ) , http . StatusFound ) }
SignOut redirects the request to the sign out url.
SignOut redirects the request to the sign out url .