RedirectContext Class
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.
When a user configures the WsFederationHandler to be notified prior to redirecting to an IdentityProvider an instance of RedirectContext is passed to the 'RedirectToAuthenticationEndpoint' or 'RedirectToEndSessionEndpoint' events.
public ref class RedirectContext : Microsoft::AspNetCore::Authentication::PropertiesContext<Microsoft::AspNetCore::Authentication::WsFederation::WsFederationOptions ^>
public class RedirectContext : Microsoft.AspNetCore.Authentication.PropertiesContext<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>
type RedirectContext = class
inherit PropertiesContext<WsFederationOptions>
Public Class RedirectContext
Inherits PropertiesContext(Of WsFederationOptions)
- Inheritance
Constructors
| RedirectContext(HttpContext, AuthenticationScheme, WsFederationOptions, AuthenticationProperties) |
Creates a new context object. |
Properties
| Handled |
If true, will skip any default logic for this redirect. |
| HttpContext |
The context. (Inherited from BaseContext<TOptions>) |
| Options |
Gets the authentication options associated with the scheme. (Inherited from BaseContext<TOptions>) |
| Properties |
Gets or sets the AuthenticationProperties. (Inherited from PropertiesContext<TOptions>) |
| ProtocolMessage |
The WsFederationMessage used to compose the redirect. |
| Request |
The request. (Inherited from BaseContext<TOptions>) |
| Response |
The response. (Inherited from BaseContext<TOptions>) |
| Scheme |
The authentication scheme. (Inherited from BaseContext<TOptions>) |
Methods
| HandleResponse() |
Skips any default logic for this redirect. |