RemoteAuthenticationHandler<TOptions>.HandleForbiddenAsync 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| HandleForbiddenAsync(ChallengeContext) | |
| HandleForbiddenAsync(AuthenticationProperties) | 重写此方法以处理 For禁止。 | 
HandleForbiddenAsync(ChallengeContext)
protected:
 override System::Threading::Tasks::Task<bool> ^ HandleForbiddenAsync(Microsoft::AspNetCore::Http::Features::Authentication::ChallengeContext ^ context);protected override System.Threading.Tasks.Task<bool> HandleForbiddenAsync(Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext context);override this.HandleForbiddenAsync : Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext -> System.Threading.Tasks.Task<bool>Protected Overrides Function HandleForbiddenAsync (context As ChallengeContext) As Task(Of Boolean)参数
- context
- ChallengeContext
返回
适用于
HandleForbiddenAsync(AuthenticationProperties)
重写此方法以处理 For禁止。
protected:
 override System::Threading::Tasks::Task ^ HandleForbiddenAsync(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);protected override System.Threading.Tasks.Task HandleForbiddenAsync(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);override this.HandleForbiddenAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.TaskProtected Overrides Function HandleForbiddenAsync (properties As AuthenticationProperties) As Task参数
- properties
- AuthenticationProperties
返回
任务。