RemoteAuthenticationHandler<TOptions>.HandleAccessDeniedErrorAsync Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Jenis turunan dapat mengambil alih metode ini untuk menangani kesalahan akses ditolak.
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)
Parameter
- properties
- AuthenticationProperties