Share via


CertificateAuthenticationFailedContext Klasse

Definition

Kontext, der verwendet wird, wenn ein Fehler auftritt.

public ref class CertificateAuthenticationFailedContext : Microsoft::AspNetCore::Authentication::ResultContext<Microsoft::AspNetCore::Authentication::Certificate::CertificateAuthenticationOptions ^>
public class CertificateAuthenticationFailedContext : Microsoft.AspNetCore.Authentication.ResultContext<Microsoft.AspNetCore.Authentication.Certificate.CertificateAuthenticationOptions>
type CertificateAuthenticationFailedContext = class
    inherit ResultContext<CertificateAuthenticationOptions>
Public Class CertificateAuthenticationFailedContext
Inherits ResultContext(Of CertificateAuthenticationOptions)
Vererbung

Konstruktoren

CertificateAuthenticationFailedContext(HttpContext, AuthenticationScheme, CertificateAuthenticationOptions)

Konstruktor.

Eigenschaften

Exception

Die Ausnahme.

HttpContext

Der Kontext.

(Geerbt von BaseContext<TOptions>)
Options

Ruft die dem Schema zugeordneten Authentifizierungsoptionen ab.

(Geerbt von BaseContext<TOptions>)
Principal

Ruft die ab, die ClaimsPrincipal die Benutzeransprüche enthält, oder legt diese fest.

(Geerbt von ResultContext<TOptions>)
Properties

Ruft den AuthenticationProperties ab oder legt diesen fest.

(Geerbt von ResultContext<TOptions>)
Request

Die Anforderung.

(Geerbt von BaseContext<TOptions>)
Response

Die Antwort.

(Geerbt von BaseContext<TOptions>)
Result

Ruft das Ergebnis ab AuthenticateResult .

(Geerbt von ResultContext<TOptions>)
Scheme

Das Authentifizierungsschema.

(Geerbt von BaseContext<TOptions>)

Methoden

Fail(Exception)

Gibt an, dass während der Authentifizierung ein Fehler aufgetreten ist.

(Geerbt von ResultContext<TOptions>)
Fail(String)

Gibt an, dass während der Authentifizierung ein Fehler aufgetreten ist.

(Geerbt von ResultContext<TOptions>)
NoResult()

Gibt an, dass für dieses Authentifizierungsschema keine Informationen zurückgegeben wurden.

(Geerbt von ResultContext<TOptions>)
Success()

Ruft die erfolgreiche Erstellung eines Tickets mit und PropertiesaufPrincipal.

(Geerbt von ResultContext<TOptions>)

Gilt für: