AuthenticationService 클래스

정의

public ref class AuthenticationService : Microsoft::AspNetCore::Authentication::IAuthenticationService
public class AuthenticationService : Microsoft.AspNetCore.Authentication.IAuthenticationService
type AuthenticationService = class
    interface IAuthenticationService
Public Class AuthenticationService
Implements IAuthenticationService
상속
AuthenticationService
구현

생성자

AuthenticationService(IAuthenticationSchemeProvider, IAuthenticationHandlerProvider, IClaimsTransformation)

생성자입니다.

AuthenticationService(IAuthenticationSchemeProvider, IAuthenticationHandlerProvider, IClaimsTransformation, IOptions<AuthenticationOptions>)

생성자입니다.

속성

Handlers

IAuthenticationHandler 인스턴스를 resolve 데 사용됩니다.

Options

AuthenticationOptions

Schemes

AuthenticationSchemes를 조회하는 데 사용됩니다.

Transform

클레임 변환에 사용됩니다.

메서드

AuthenticateAsync(HttpContext, String)

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

ChallengeAsync(HttpContext, String, AuthenticationProperties)

지정된 인증 체계에 이의를 제기합니다.

ForbidAsync(HttpContext, String, AuthenticationProperties)

지정된 인증 체계를 금지합니다.

SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties)

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

SignOutAsync(HttpContext, String, AuthenticationProperties)

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

확장 메서드

GetTokenAsync(IAuthenticationService, HttpContext, String)

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

GetTokenAsync(IAuthenticationService, HttpContext, String, String)

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

적용 대상