ICookieAuthenticationEvents 인터페이스

정의

에서 인증 프로세스를 개발자가 CookieAuthenticationMiddleware 제어할 수 있도록 호출하는 콜백 메서드를 지정합니다. />

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

메서드

RedirectToAccessDenied(CookieRedirectContext)

액세스 거부로 인해 쿠키 미들웨어에서 리디렉션이 발생할 때 호출됩니다.

RedirectToLogin(CookieRedirectContext)

SignIn이 쿠키 미들웨어에서 리디렉션을 발생시키는 경우 호출합니다.

RedirectToLogout(CookieRedirectContext)

SignOut이 쿠키 미들웨어에서 리디렉션을 발생시키는 경우 호출합니다.

RedirectToReturnUrl(CookieRedirectContext)

쿠키 미들웨어의 반환 URL로 다시 리디렉션할 때 호출됩니다.

SignedIn(CookieSignedInContext)

엔드포인트가 쿠키로 변환된 후에 로그인 정보를 제공한 경우 호출됩니다.

SigningIn(CookieSigningInContext)

엔드포인트가 쿠키로 변환되기 전에 로그인 정보를 제공한 경우 호출됩니다. 이 메서드를 구현하면 티켓으로 전환되는 클레임 및 추가 정보를 변경할 수 있습니다.

SigningOut(CookieSigningOutContext)

쿠키 정리 프로세스를 확대하기 위해 로그아웃 흐름 중 호출됩니다.

ValidatePrincipal(CookieValidatePrincipalContext)

미들웨어에서 요청 보안 주체의 유효성을 검사할 때마다 호출됩니다. 이 메서드를 구현하면 애플리케이션이 요청과 함께 도착한 보안 주체를 변경하거나 거부할 수 있습니다.

적용 대상