Class RedirectResult
- Namespace
- Fdyay.IdentityServer.Hosting
- Assembly
- Fdyay.IdentityServer.AspNetCore.dll
Issues an HTTP 302 redirect.
public sealed class RedirectResult : IEndpointResult
- Inheritance
-
RedirectResult
- Implements
- Inherited Members
Constructors
RedirectResult(string)
Holds where to redirect.
public RedirectResult(string url)
Parameters
urlstringThe URL the browser is sent to.
Properties
Url
Where the browser is sent, for a writer of the host's own (IHttpResponseWriter<T>).
public string Url { get; }
Property Value
Methods
ExecuteAsync(HttpContext)
Writes the result to the response.
public Task ExecuteAsync(HttpContext context)
Parameters
contextHttpContextThe request whose response is written.