ICookieAuthenticationEvents 介面
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定回呼方法, CookieAuthenticationMiddleware 叫用以啟用開發人員對驗證程式的控制權。 />
public interface class ICookieAuthenticationEvents
C#
public interface ICookieAuthenticationEvents
type ICookieAuthenticationEvents = interface
Public Interface ICookieAuthenticationEvents
- 衍生
Redirect |
拒絕存取會導致 Cookie 中介軟體中的重新導向時呼叫。 |
Redirect |
當 SignIn 造成 Cookie 中介軟體中的重新導向時呼叫。 |
Redirect |
當登出會導致 Cookie 中介軟體中的重新導向時呼叫。 |
Redirect |
重新導向回 Cookie 中介軟體中的傳回 URL 時呼叫。 |
Signed |
當端點提供的登入資訊轉換為 Cookie 之後呼叫。 |
Signing |
當端點已在轉換為 cookie 前提供登入資訊時呼叫。 實作上方法,可能會替換票證中的宣告和其他資訊。 |
Signing |
在登出流程期間呼叫以擴大 Cookie 清除程序。 |
Validate |
每次中介軟體驗證要求主體時呼叫。 藉由實作此方法,應用程式可能會改變或拒絕已與要求一起抵達的主體。 |
產品 | 版本 |
---|---|
ASP.NET Core | 1.0, 1.1 |