共用方式為


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)

Syntax

public string ReturnUrlParameter { get; set; }
public:
property String^ ReturnUrlParameter {
    String^ get();
    void set(String^ value);
}
member ReturnUrlParameter : string with get, set
Public Property ReturnUrlParameter As String

Property Value

Type: System.String

Returns String.

See Also

CookieAuthenticationOptions Class
Microsoft.Owin.Security.Cookies Namespace

Return to top