IAuthenticationService.ChallengeAsync 메서드

정의

지정된 인증 체계에 이의를 제기합니다. 인증되지 않은 사용자가 인증이 필요한 엔드포인트를 요청할 때 인증 챌린지를 실행할 수 있습니다.

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

매개 변수

scheme
String

인증 체계의 이름입니다.

반환

작업입니다.

적용 대상