IAuthenticationService 인터페이스

정의

인증을 제공하는 데 사용됩니다.

public interface class IAuthenticationService
public interface IAuthenticationService
type IAuthenticationService = interface
Public Interface IAuthenticationService
파생

메서드

AuthenticateAsync(HttpContext, String)

지정된 인증 체계에 대해 인증합니다.

ChallengeAsync(HttpContext, String, AuthenticationProperties)

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

ForbidAsync(HttpContext, String, AuthenticationProperties)

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

SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties)

지정된 인증 체계에 대해 보안 주체를 로그인합니다.

SignOutAsync(HttpContext, String, AuthenticationProperties)

지정된 인증 체계를 로그아웃합니다.

확장 메서드

GetTokenAsync(IAuthenticationService, HttpContext, String)

지정된 인증 체계를 사용하여 요청을 인증하고 토큰의 값을 반환합니다.

GetTokenAsync(IAuthenticationService, HttpContext, String, String)

지정된 인증 체계를 사용하여 요청을 인증하고 토큰의 값을 반환합니다.

적용 대상