RemoteAuthenticationHandler<TOptions>.HandleAccessDeniedErrorAsync Method
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.
Derived types may override this method to handle access denied errors.
protected:
virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::HandleRequestResult ^> ^ HandleAccessDeniedErrorAsync(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult> HandleAccessDeniedErrorAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
abstract member HandleAccessDeniedErrorAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult>
override this.HandleAccessDeniedErrorAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult>
Protected Overridable Function HandleAccessDeniedErrorAsync (properties As AuthenticationProperties) As Task(Of HandleRequestResult)
Parameters
- properties
- AuthenticationProperties
Returns
The HandleRequestResult.