C# Class OpenIdConnect.Client.Common.Representations.HttpRedirectResponse

Represents an HTTP Redirect Response (needed for framework abstraction)
Show file Open project: sapo/sapo-services-sdk

Public Methods

Method Description
HttpRedirectResponse ( Uri location ) : System

Creates a new HttpRedirectResponse, given a location as an Uri.

HttpRedirectResponse ( string location ) : System

Creates a new HttpRedirectResponse, given a location as a string. The given string will be internally converted to an Uri object

Method Details

HttpRedirectResponse() public method

Creates a new HttpRedirectResponse, given a location as an Uri.
public HttpRedirectResponse ( Uri location ) : System
location System.Uri The redirect location as an Uri
return System

HttpRedirectResponse() public method

Creates a new HttpRedirectResponse, given a location as a string. The given string will be internally converted to an Uri object
public HttpRedirectResponse ( string location ) : System
location string The redirect location, as a string
return System