다음을 통해 공유


SignOutAuthenticationHandler<TOptions> 클래스

정의

SignOutAsync에 대한 지원을 추가합니다.

generic <typename TOptions>
 where TOptions : AuthenticationSchemeOptionsgcnew()public ref class SignOutAuthenticationHandler abstract : Microsoft::AspNetCore::Authentication::AuthenticationHandler<TOptions>, Microsoft::AspNetCore::Authentication::IAuthenticationSignOutHandler
public abstract class SignOutAuthenticationHandler<TOptions> : Microsoft.AspNetCore.Authentication.AuthenticationHandler<TOptions>, Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler where TOptions : AuthenticationSchemeOptions, new()
type SignOutAuthenticationHandler<'Options (requires 'Options :> AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> = class
    inherit AuthenticationHandler<'Options (requires 'Options :> AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))>
    interface IAuthenticationSignOutHandler
    interface IAuthenticationHandler
type SignOutAuthenticationHandler<'Options (requires 'Options :> AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))> = class
    inherit AuthenticationHandler<'Options (requires 'Options :> AuthenticationSchemeOptions and 'Options : (new : unit -> 'Options))>
    interface IAuthenticationHandler
    interface IAuthenticationSignOutHandler
Public MustInherit Class SignOutAuthenticationHandler(Of TOptions)
Inherits AuthenticationHandler(Of TOptions)
Implements IAuthenticationSignOutHandler

형식 매개 변수

TOptions
상속
SignOutAuthenticationHandler<TOptions>
파생
구현

생성자

SignOutAuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder)

SignOutAuthenticationHandler<TOptions>새 인스턴스를 초기화합니다.

SignOutAuthenticationHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
사용되지 않음.

SignOutAuthenticationHandler<TOptions>새 인스턴스를 초기화합니다.

속성

ChallengeCalled

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
ClaimsIssuer

클레임이 발급될 때 사용해야 하는 발급자를 가져옵니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
Clock
사용되지 않음.

ISystemClock가져옵니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
Context

HttpContext가져오거나 설정합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
CurrentUri

절대 현재 URL을 가져옵니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
Events

처리기는 처리가 발생하는 특정 지점에서 애플리케이션 제어를 제공하는 이벤트에 대한 메서드를 호출합니다. 제공되지 않으면 메서드가 호출될 때 아무 작업도 수행하지 않는 기본 인스턴스가 제공됩니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
InitializeResult

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
Logger

ILogger가져옵니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
Options

이 인증 처리기와 연결된 옵션을 가져오거나 설정합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
OptionsMonitor

옵션의 변경 내용을 검색하는 IOptionsMonitor<TOptions> 가져옵니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
OriginalPath

인증 미들웨어에서 볼 수 있는 경로를 가져옵니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
OriginalPathBase

인증 미들웨어에서 볼 수 있는 경로 베이스를 가져옵니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
PriorHandler

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
Request

현재 요청과 연결된 HttpRequest 가져옵니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
Response

현재 요청과 연결된 HttpResponse 가져옵니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
Scheme

이 인증 처리기와 연결된 AuthenticationScheme 가져오거나 설정합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
SignInAccepted

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
SignOutAccepted

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
TimeProvider

주로 단위 테스트를 위한 현재 시간을 가져옵니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
UrlEncoder

UrlEncoder가져옵니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)

메서드

AuthenticateAsync()

현재 요청을 인증합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
AuthenticateAsync(AuthenticateContext)

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
BuildRedirectUri(String)

지정된 targetPath대한 절대 URL을 생성합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
ChallengeAsync(AuthenticationProperties)

현재 요청에 이의를 제기합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
ChallengeAsync(ChallengeContext)

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
CreateEventsAsync()

이벤트 인스턴스의 새 인스턴스를 만듭니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
FinishResponseAsync()

응답을 보낼 때 호출되는 후크

(다음에서 상속됨 AuthenticationHandler<TOptions>)
ForbidAsync(AuthenticationProperties)

현재 요청을 금지합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
GetDescriptions(DescribeSchemesContext)

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
HandleAuthenticateAsync()

파생 형식이 인증을 처리할 수 있도록 허용합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
HandleAuthenticateOnceAsync()

HandleAuthenticateAsync가 한 번만 호출되도록 하는 데 사용됩니다. 후속 호출은 동일한 인증 결과를 반환합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
HandleAuthenticateOnceSafeAsync()

HandleAuthenticateAsync가 한 번만 안전하게 호출되도록 하는 데 사용됩니다. 후속 호출은 동일한 인증 결과를 반환합니다. 모든 예외는 예외를 포함하는 실패한 인증 결과로 변환됩니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
HandleChallengeAsync(AuthenticationProperties)

문제의 인증 체계가 요청 흐름의 일부로 인증 상호 작용을 처리하는 경우 401 챌린지 문제를 처리하도록 이 방법을 재정의합니다. 응답 헤더를 추가하거나 401 결과를 로그인 페이지 또는 외부 로그인 위치의 302로 변경하는 것과 같습니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
HandleForbiddenAsync(AuthenticationProperties)

Forbid를 처리하도록 이 메서드를 재정의합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
HandleForbiddenAsync(ChallengeContext)

금지된 챌린지를 처리하려면 이 메서드를 재정의합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
HandleRequestAsync()

초기화 후 일반 코드에서 한 번 호출됩니다. 인증 미들웨어가 특별히 알려진 경로에 직접 응답하는 경우 이 가상을 재정의해야 하며, 요청 경로를 알려진 경로와 비교하고, 적절한 응답 정보를 제공하고, true로 추가 처리를 중지합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
HandleSignInAsync(SignInContext)

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
HandleSignOutAsync(AuthenticationProperties)

SignOut을 처리하도록 이 메서드를 재정의합니다.

HandleSignOutAsync(SignOutContext)

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
HandleUnauthorizedAsync(ChallengeContext)

문제의 인증 체계가 요청 흐름의 일부로 인증 상호 작용을 처리하는 경우 401 챌린지 문제를 처리하도록 이 방법을 재정의합니다. 응답 헤더를 추가하거나 401 결과를 로그인 페이지 또는 외부 로그인 위치의 302로 변경하는 것과 같습니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
InitializeAsync(AuthenticationScheme, HttpContext)

처리기를 초기화하고, 옵션을 확인하고, 유효성을 검사합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
InitializeAsync(TOptions, HttpContext, ILogger, UrlEncoder)

이 인스턴스를 적절한 상태로 컨텍스트화하기 위해 요청당 한 번씩 초기화가 호출됩니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
InitializeEventsAsync()

InitializeAsync(AuthenticationScheme, HttpContext)요청당 한 번씩 호출되는 이벤트 개체를 초기화합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
InitializeHandlerAsync()

처리기가 자체 초기화를 완료하도록 옵션/이벤트를 초기화한 후 호출됩니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
ResolveTarget(String)

이 인증 작업이 전달되는 체계를 확인합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
ShouldHandleScheme(String, Boolean)

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
SignInAsync(SignInContext)

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)
SignOutAsync(AuthenticationProperties)

로그아웃 동작입니다.

SignOutAsync(SignOutContext)

SignOutAsync에 대한 지원을 추가합니다.

(다음에서 상속됨 AuthenticationHandler<TOptions>)

적용 대상