IAuthenticationService.ForbidAsync 메서드

정의

지정된 인증 체계를 금지합니다. Forbid는 인증된 사용자가 액세스할 수 없는 리소스에 액세스하려고 할 때 사용됩니다.

public:
 System::Threading::Tasks::Task ^ ForbidAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ scheme, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public System.Threading.Tasks.Task ForbidAsync (Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public System.Threading.Tasks.Task ForbidAsync (Microsoft.AspNetCore.Http.HttpContext context, string? scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
abstract member ForbidAsync : Microsoft.AspNetCore.Http.HttpContext * string * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public Function ForbidAsync (context As HttpContext, scheme As String, properties As AuthenticationProperties) As Task

매개 변수

scheme
String

인증 체계의 이름입니다.

반환

작업입니다.

적용 대상