Dela via


AccessDeniedContext Constructor

Definition

Initializes a new instance of AccessDeniedContext.

public:
 AccessDeniedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::RemoteAuthenticationOptions ^ options);
public AccessDeniedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions options);
new Microsoft.AspNetCore.Authentication.AccessDeniedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions -> Microsoft.AspNetCore.Authentication.AccessDeniedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As RemoteAuthenticationOptions)

Parameters

context
HttpContext

The HttpContext.

Applies to