Sdílet prostřednictvím


AuthenticationFailedContext Třída

Definice

public ref class AuthenticationFailedContext : Microsoft::AspNetCore::Authentication::OpenIdConnect::BaseOpenIdConnectContext
public ref class AuthenticationFailedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^>
public class AuthenticationFailedContext : Microsoft.AspNetCore.Authentication.OpenIdConnect.BaseOpenIdConnectContext
public class AuthenticationFailedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>
type AuthenticationFailedContext = class
    inherit BaseOpenIdConnectContext
type AuthenticationFailedContext = class
    inherit RemoteAuthenticationContext<OpenIdConnectOptions>
Public Class AuthenticationFailedContext
Inherits BaseOpenIdConnectContext
Public Class AuthenticationFailedContext
Inherits RemoteAuthenticationContext(Of OpenIdConnectOptions)
Dědičnost
Dědičnost

Konstruktory

AuthenticationFailedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions)

Inicializuje novou instanci objektu AuthenticationFailedContext.

AuthenticationFailedContext(HttpContext, OpenIdConnectOptions)

Kontext pro AuthenticationFailed(AuthenticationFailedContext).

Vlastnosti

Exception

Získá nebo nastaví výjimku přidruženou k selhání.

HandledResponse

Kontext pro AuthenticationFailed(AuthenticationFailedContext).

(Zděděno od BaseControlContext)
HttpContext

Kontext pro AuthenticationFailed(AuthenticationFailedContext).

(Zděděno od BaseContext)
HttpContext

Kontext

(Zděděno od BaseContext<TOptions>)
Options

Kontext pro AuthenticationFailed(AuthenticationFailedContext).

(Zděděno od BaseOpenIdConnectContext)
Options

Získá možnosti ověřování přidružené k schématu.

(Zděděno od BaseContext<TOptions>)
Principal

ClaimsPrincipal Získá obsahující deklarace identity uživatele.

(Zděděno od RemoteAuthenticationContext<TOptions>)
Properties

Získá nebo nastaví AuthenticationProperties.

(Zděděno od RemoteAuthenticationContext<TOptions>)
ProtocolMessage

Získá nebo nastaví OpenIdConnectMessage.

ProtocolMessage

Kontext pro AuthenticationFailed(AuthenticationFailedContext).

(Zděděno od BaseOpenIdConnectContext)
Request

Kontext pro AuthenticationFailed(AuthenticationFailedContext).

(Zděděno od BaseContext)
Request

Žádost

(Zděděno od BaseContext<TOptions>)
Response

Kontext pro AuthenticationFailed(AuthenticationFailedContext).

(Zděděno od BaseContext)
Response

Odpověď.

(Zděděno od BaseContext<TOptions>)
Result

Používá HandleRequestResult se obslužná rutina.

(Zděděno od HandleRequestContext<TOptions>)
Scheme

Schéma ověřování.

(Zděděno od BaseContext<TOptions>)
Skipped

Kontext pro AuthenticationFailed(AuthenticationFailedContext).

(Zděděno od BaseControlContext)
State

Kontext pro AuthenticationFailed(AuthenticationFailedContext).

(Zděděno od BaseControlContext)
Ticket

Získá nebo nastavte Ticket na návrat, pokud tato událost signalizuje, že zpracovává událost.

(Zděděno od BaseControlContext)

Metody

CheckEventResult(AuthenticateResult)

Kontext pro AuthenticationFailed(AuthenticationFailedContext).

(Zděděno od BaseControlContext)
Fail(Exception)

Označuje, že ověřování selhalo.

(Zděděno od RemoteAuthenticationContext<TOptions>)
Fail(String)

Označuje, že ověřování selhalo.

(Zděděno od RemoteAuthenticationContext<TOptions>)
HandleResponse()

Ukončete veškeré zpracování tohoto požadavku a vraťte se do klienta. Volající zodpovídá za vygenerování úplné odpovědi. Nastavte na Ticket trigger SignIn.

(Zděděno od BaseControlContext)
HandleResponse()

Ukončete veškeré zpracování tohoto požadavku a vraťte se do klienta. Volající zodpovídá za vygenerování úplné odpovědi.

(Zděděno od HandleRequestContext<TOptions>)
SkipHandler()

Ukončete zpracování požadavku v aktuální obslužné rutině.

(Zděděno od HandleRequestContext<TOptions>)
SkipToNextMiddleware()

Ukončete zpracování požadavku v aktuálním middlewaru a předejte řízení dalšímu middlewaru. SignIn nebude volána.

(Zděděno od BaseControlContext)
Success()

Zavolá úspěšné vytvoření lístku Principal pomocí a Properties.

(Zděděno od RemoteAuthenticationContext<TOptions>)

Platí pro