CookieAuthenticationOptions.ReturnUrlParameter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property System::String ^ ReturnUrlParameter { System::String ^ get(); void set(System::String ^ value); };
public string ReturnUrlParameter { get; set; }
member this.ReturnUrlParameter : string with get, set
Public Property ReturnUrlParameter As String
Property Value
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for