AccessDeniedContext Constructor
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.
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.
- scheme
- AuthenticationScheme
The AuthenticationScheme.
- options
- RemoteAuthenticationOptions
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