Table of Contents

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

url string

The 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

string

Methods

ExecuteAsync(HttpContext)

Writes the result to the response.

public Task ExecuteAsync(HttpContext context)

Parameters

context HttpContext

The request whose response is written.

Returns

Task