Share via


ITwitterEvents 介面

定義

指定叫用的回呼方法, TwitterMiddleware 讓開發人員能夠控制驗證程式。 />

public interface class ITwitterEvents : Microsoft::AspNetCore::Authentication::IRemoteAuthenticationEvents
public interface ITwitterEvents : Microsoft.AspNetCore.Authentication.IRemoteAuthenticationEvents
type ITwitterEvents = interface
    interface IRemoteAuthenticationEvents
Public Interface ITwitterEvents
Implements IRemoteAuthenticationEvents
衍生
實作

方法

CreatingTicket(TwitterCreatingTicketContext)

每當 Twitter 成功驗證使用者時叫用

RedirectToAuthorizationEndpoint(TwitterRedirectToAuthorizationEndpointContext)

在 Twitter 中介軟體中當 Challenge 導致重新導向至授權端點時呼叫

RemoteFailure(FailureContext)

當遠端驗證程式發生錯誤時叫用。

(繼承來源 IRemoteAuthenticationEvents)
TicketReceived(TicketReceivedContext)

在登入之前叫用。

(繼承來源 IRemoteAuthenticationEvents)

適用於