TwitterEvents Classe

Definizione

Implementazione predefinita TwitterEvents .

public ref class TwitterEvents : Microsoft::AspNetCore::Authentication::RemoteAuthenticationEvents, Microsoft::AspNetCore::Authentication::Twitter::ITwitterEvents
public ref class TwitterEvents : Microsoft::AspNetCore::Authentication::RemoteAuthenticationEvents
public class TwitterEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents, Microsoft.AspNetCore.Authentication.Twitter.ITwitterEvents
public class TwitterEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents
type TwitterEvents = class
    inherit RemoteAuthenticationEvents
    interface ITwitterEvents
    interface IRemoteAuthenticationEvents
type TwitterEvents = class
    inherit RemoteAuthenticationEvents
Public Class TwitterEvents
Inherits RemoteAuthenticationEvents
Implements ITwitterEvents
Public Class TwitterEvents
Inherits RemoteAuthenticationEvents
Ereditarietà
Implementazioni

Costruttori

TwitterEvents()

Implementazione predefinita TwitterEvents .

Proprietà

OnAccessDenied

Richiamato quando viene restituito un errore di accesso negato dal server remoto.

(Ereditato da RemoteAuthenticationEvents)
OnCreatingTicket

Ottiene o imposta la funzione richiamata con il metodo di autenticazione.

OnRedirectToAuthorizationEndpoint

Ottiene o imposta il delegato richiamato con il metodo ApplyRedirect.

OnRemoteFailure

Richiamato quando si verifica un errore remoto.

(Ereditato da RemoteAuthenticationEvents)
OnTicketReceived

Richiamato dopo la ricezione del ticket remoto.

(Ereditato da RemoteAuthenticationEvents)

Metodi

AccessDenied(AccessDeniedContext)

Richiamato quando viene restituito un errore di accesso negato dal server remoto.

(Ereditato da RemoteAuthenticationEvents)
CreatingTicket(TwitterCreatingTicketContext)

Richiamato ogni volta che Twitter autentica correttamente un utente

RedirectToAuthorizationEndpoint(RedirectContext<TwitterOptions>)

Chiamato quando una richiesta causa un reindirizzamento per autorizzare l'endpoint nel gestore twitter

RedirectToAuthorizationEndpoint(TwitterRedirectToAuthorizationEndpointContext)

Chiamato quando una richiesta determina un reindirizzamento all'endpoint Authorize nel middleware di Twitter

RemoteFailure(FailureContext)

Richiamato quando si verifica un errore remoto

(Ereditato da RemoteAuthenticationEvents)
RemoteFailure(RemoteFailureContext)

Richiamato quando si verifica un errore remoto.

(Ereditato da RemoteAuthenticationEvents)
TicketReceived(TicketReceivedContext)

Richiamato dopo la ricezione del ticket remoto.

(Ereditato da RemoteAuthenticationEvents)

Si applica a