OpenIdConnectEvents 클래스

정의

에서 인증 프로세스를 개발자가 OpenIdConnectHandler 제어할 수 있도록 호출하는 이벤트를 지정합니다.

public ref class OpenIdConnectEvents : Microsoft::AspNetCore::Authentication::RemoteAuthenticationEvents, Microsoft::AspNetCore::Authentication::OpenIdConnect::IOpenIdConnectEvents
public ref class OpenIdConnectEvents : Microsoft::AspNetCore::Authentication::RemoteAuthenticationEvents
public class OpenIdConnectEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents, Microsoft.AspNetCore.Authentication.OpenIdConnect.IOpenIdConnectEvents
public class OpenIdConnectEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents
type OpenIdConnectEvents = class
    inherit RemoteAuthenticationEvents
    interface IOpenIdConnectEvents
    interface IRemoteAuthenticationEvents
type OpenIdConnectEvents = class
    inherit RemoteAuthenticationEvents
Public Class OpenIdConnectEvents
Inherits RemoteAuthenticationEvents
Implements IOpenIdConnectEvents
Public Class OpenIdConnectEvents
Inherits RemoteAuthenticationEvents
상속
OpenIdConnectEvents
구현

생성자

OpenIdConnectEvents()

에서 인증 프로세스를 개발자가 OpenIdConnectHandler 제어할 수 있도록 호출하는 이벤트를 지정합니다.

속성

OnAccessDenied

원격 서버에서 액세스 거부 오류를 반환할 때 호출됩니다.

(다음에서 상속됨 RemoteAuthenticationEvents)
OnAuthenticationFailed

요청 처리 중 예외가 발생하면 호출됩니다. 표시되지 않도록 설정하지 않은 경우 이 이벤트 후에 예외가 다시 발생합니다.

OnAuthorizationCodeReceived

프로토콜 메시지에 인증 코드가 있는 경우 보안 토큰 유효성 검사 후에 호출됩니다.

OnMessageReceived

프로토콜 메시지를 처음 수신할 때 호출됩니다.

OnRedirectToIdentityProvider

인증을 위해 ID 공급자로 리디렉션하기 전에 호출됩니다. 인증 프로세스를 통해 유지되는 ProtocolMessage.State를 설정하는 데 사용할 수 있습니다. ProtocolMessage를 사용하여 ID 공급자에 전송된 매개 변수를 추가하거나 사용자 지정할 수도 있습니다.

OnRedirectToIdentityProviderForSignOut

로그아웃하기 위해 ID 공급자로 리디렉션하기 전에 호출됩니다.

OnRemoteFailure

원격 오류가 있을 때 호출됩니다.

(다음에서 상속됨 RemoteAuthenticationEvents)
OnRemoteSignOut

RemoteSignOutPath에서 요청이 수신될 때 호출됩니다.

OnSignedOutCallbackRedirect

원격 로그아웃 흐름의 끝에 있는 로 리디렉션하기 SignedOutRedirectUri 전에 호출됩니다.

OnTicketReceived

원격 티켓을 받은 후 호출됩니다.

(다음에서 상속됨 RemoteAuthenticationEvents)
OnTokenResponseReceived

토큰 엔드포인트에서 토큰에 대해 "권한 부여 코드"가 사용되면 호출됩니다.

OnTokenValidated

IdToken의 유효성을 검사하고 AuthenticationTicket를 생성할 때 호출됩니다. 이 이벤트 이후에는 nonce와 같은 인증 흐름의 다른 측면의 유효성을 검사하는 추가 검사가 있습니다.

OnUserInformationReceived

UserInfoEndpoint에서 사용자 정보를 검색할 때 호출됩니다.

메서드

AccessDenied(AccessDeniedContext)

원격 서버에서 액세스 거부 오류를 반환할 때 호출됩니다.

(다음에서 상속됨 RemoteAuthenticationEvents)
AuthenticationFailed(AuthenticationFailedContext)

요청 처리 중 예외가 발생하면 호출됩니다. 표시되지 않도록 설정하지 않은 경우 이 이벤트 후에 예외가 다시 발생합니다.

AuthorizationCodeReceived(AuthorizationCodeReceivedContext)

프로토콜 메시지에 권한 부여 코드가 있는 경우 호출됩니다.

MessageReceived(MessageReceivedContext)

프로토콜 메시지를 처음 수신할 때 호출됩니다.

RedirectToIdentityProvider(RedirectContext)

인증을 위해 ID 공급자로 리디렉션하기 전에 호출됩니다. 인증 프로세스를 통해 유지되는 ProtocolMessage.State를 설정하는 데 사용할 수 있습니다. ProtocolMessage를 사용하여 ID 공급자에 전송된 매개 변수를 추가하거나 사용자 지정할 수도 있습니다.

RedirectToIdentityProviderForSignOut(RedirectContext)

로그아웃하기 위해 ID 공급자로 리디렉션하기 전에 호출됩니다.

RemoteFailure(FailureContext)

원격 오류가 있을 때 호출됨

(다음에서 상속됨 RemoteAuthenticationEvents)
RemoteFailure(RemoteFailureContext)

원격 오류가 있을 때 호출됩니다.

(다음에서 상속됨 RemoteAuthenticationEvents)
RemoteSignOut(RemoteSignOutContext)

RemoteSignOutPath에서 요청이 수신될 때 호출됩니다.

SignedOutCallbackRedirect(RemoteSignOutContext)

원격 로그아웃 흐름의 끝에 있는 로 리디렉션하기 SignedOutRedirectUri 전에 호출됩니다.

TicketReceived(TicketReceivedContext)

원격 티켓을 받은 후 호출됩니다.

(다음에서 상속됨 RemoteAuthenticationEvents)
TokenResponseReceived(TokenResponseReceivedContext)

토큰 엔드포인트에서 토큰에 대해 권한 부여 코드를 사용한 후 호출됩니다.

TokenValidated(TokenValidatedContext)

IdToken의 유효성을 검사하고 AuthenticationTicket를 생성할 때 호출됩니다. 이 이벤트 이후에는 nonce와 같은 인증 흐름의 다른 측면의 유효성을 검사하는 추가 검사가 있습니다.

UserInformationReceived(UserInformationReceivedContext)

UserInfoEndpoint에서 사용자 정보를 검색할 때 호출됩니다.

적용 대상