TwitterEvents Třída

Definice

Výchozí TwitterEvents implementace.

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
Dědičnost
Implementuje

Konstruktory

TwitterEvents()

Vlastnosti

OnAccessDenied

Vyvolána, když vzdálený server vrátil chybu odepření přístupu.

(Zděděno od RemoteAuthenticationEvents)
OnCreatingTicket

Získá nebo nastaví funkci, která je vyvolána při ověření metoda je vyvolána.

OnRedirectToAuthorizationEndpoint

Získá nebo nastaví delegát, který je vyvolán při ApplyRedirect metoda je vyvolána.

OnRemoteFailure

Vyvoláno v případě, že dojde ke vzdálenému selhání.

(Zděděno od RemoteAuthenticationEvents)
OnTicketReceived

Vyvoláno po přijetí vzdáleného lístku.

(Zděděno od RemoteAuthenticationEvents)

Metody

AccessDenied(AccessDeniedContext)

Vyvolána, když vzdálený server vrátil chybu odepření přístupu.

(Zděděno od RemoteAuthenticationEvents)
CreatingTicket(TwitterCreatingTicketContext)

Vyvoláno pokaždé, když Twitter úspěšně ověří uživatele

RedirectToAuthorizationEndpoint(RedirectContext<TwitterOptions>)

Volá se, když výzva způsobí přesměrování na autorizaci koncového bodu v obslužné rutině Twitteru.

RedirectToAuthorizationEndpoint(TwitterRedirectToAuthorizationEndpointContext)

Volá se, když výzva způsobí přesměrování na autorizaci koncového bodu v middlewaru Twitteru.

RemoteFailure(FailureContext)

Vyvoláno, když dojde k selhání vzdáleného připojení

(Zděděno od RemoteAuthenticationEvents)
RemoteFailure(RemoteFailureContext)

Vyvoláno v případě, že dojde ke vzdálenému selhání.

(Zděděno od RemoteAuthenticationEvents)
TicketReceived(TicketReceivedContext)

Vyvoláno po přijetí vzdáleného lístku.

(Zděděno od RemoteAuthenticationEvents)

Platí pro