Share via


CertificateValidatedContext Klasse

Definition

Kontext, der beim Überprüfen von Zertifikaten verwendet wird.

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

Konstruktoren

CertificateValidatedContext(HttpContext, AuthenticationScheme, CertificateAuthenticationOptions)

Erstellt eine neue Instanz von CertificateValidatedContext.

Eigenschaften

ClientCertificate

Das Zertifikat, dessen Gültigkeit geprüft werden soll.

HttpContext

Der Kontext.

(Geerbt von BaseContext<TOptions>)
Options

Ruft die dem Schema zugeordneten Authentifizierungsoptionen ab.

(Geerbt von BaseContext<TOptions>)
Principal

Ruft das ab, das die ClaimsPrincipal Benutzeransprüche enthält, oder legt dieses 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 auf PrincipalProperties.

(Geerbt von ResultContext<TOptions>)

Gilt für: