AuthenticationService 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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
- 구현
생성자
속성
Handlers |
IAuthenticationHandler 인스턴스를 resolve 데 사용됩니다. |
Options | |
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) |
지정된 인증 체계를 사용하여 요청을 인증하고 토큰의 값을 반환합니다. |
적용 대상
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기