CookieAuthenticationOptions.ReturnUrlParameter Property

The ReturnUrlParameter determines the name of the query string parameter which is appended by the middleware when a 401 Unauthorized status code is changed to a 302 redirect onto the login path. This is also the query string parameter looked for when a request arrives on the login path or logout path, in order to return to the original url after the action is performed.

Namespace:  Microsoft.Owin.Security.Cookies
Assembly:  Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)


Public Property ReturnUrlParameter As String 
Dim instance As CookieAuthenticationOptions 
Dim value As String 

value = instance.ReturnUrlParameter

instance.ReturnUrlParameter = value
public string ReturnUrlParameter { get; set; }
property String^ ReturnUrlParameter {
    String^ get ();
    void set (String^ value);
member ReturnUrlParameter : string with get, set
function get ReturnUrlParameter () : String 
function set ReturnUrlParameter (value : String)

Property Value

Type: System.String
Returns String.

See Also


CookieAuthenticationOptions Class

Microsoft.Owin.Security.Cookies Namespace