AuthenticationHttpContextExtensions.SignOutAsync Methode

Definition

Überlädt

SignOutAsync(HttpContext, String)

Melden Sie einen Prinzipal für das angegebene Schema ab.

SignOutAsync(HttpContext)

Melden Sie einen Prinzipal für das Standardauthentifizierungsschema ab. Das Standardschema für das Abmelden kann mit DefaultSignOutSchemekonfiguriert werden.

SignOutAsync(HttpContext, AuthenticationProperties)

Melden Sie einen Prinzipal für das Standardauthentifizierungsschema ab. Das Standardschema für das Abmelden kann mit DefaultSignOutSchemekonfiguriert werden.

SignOutAsync(HttpContext, String, AuthenticationProperties)

Melden Sie einen Prinzipal für das angegebene Schema ab.

SignOutAsync(HttpContext, String)

Quelle:
AuthenticationHttpContextExtensions.cs
Quelle:
AuthenticationHttpContextExtensions.cs

Melden Sie einen Prinzipal für das angegebene Schema ab.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task ^ SignOutAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ scheme);
public static System.Threading.Tasks.Task SignOutAsync (this Microsoft.AspNetCore.Http.HttpContext context, string scheme);
public static System.Threading.Tasks.Task SignOutAsync (this Microsoft.AspNetCore.Http.HttpContext context, string? scheme);
static member SignOutAsync : Microsoft.AspNetCore.Http.HttpContext * string -> System.Threading.Tasks.Task
<Extension()>
Public Function SignOutAsync (context As HttpContext, scheme As String) As Task

Parameter

context
HttpContext

Der HttpContext Kontext.

scheme
String

Der Name des Authentifizierungsschemas.

Gibt zurück

Die Aufgabe.

Gilt für:

SignOutAsync(HttpContext)

Quelle:
AuthenticationHttpContextExtensions.cs
Quelle:
AuthenticationHttpContextExtensions.cs

Melden Sie einen Prinzipal für das Standardauthentifizierungsschema ab. Das Standardschema für das Abmelden kann mit DefaultSignOutSchemekonfiguriert werden.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task ^ SignOutAsync(Microsoft::AspNetCore::Http::HttpContext ^ context);
public static System.Threading.Tasks.Task SignOutAsync (this Microsoft.AspNetCore.Http.HttpContext context);
static member SignOutAsync : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
<Extension()>
Public Function SignOutAsync (context As HttpContext) As Task

Parameter

context
HttpContext

Der HttpContext Kontext.

Gibt zurück

Die Aufgabe.

Gilt für:

SignOutAsync(HttpContext, AuthenticationProperties)

Quelle:
AuthenticationHttpContextExtensions.cs
Quelle:
AuthenticationHttpContextExtensions.cs

Melden Sie einen Prinzipal für das Standardauthentifizierungsschema ab. Das Standardschema für das Abmelden kann mit DefaultSignOutSchemekonfiguriert werden.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task ^ SignOutAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public static System.Threading.Tasks.Task SignOutAsync (this Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public static System.Threading.Tasks.Task SignOutAsync (this Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
static member SignOutAsync : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
<Extension()>
Public Function SignOutAsync (context As HttpContext, properties As AuthenticationProperties) As Task

Parameter

context
HttpContext

Der HttpContext Kontext.

properties
AuthenticationProperties

Die AuthenticationProperties Eigenschaften.

Gibt zurück

Die Aufgabe.

Gilt für:

SignOutAsync(HttpContext, String, AuthenticationProperties)

Quelle:
AuthenticationHttpContextExtensions.cs
Quelle:
AuthenticationHttpContextExtensions.cs

Melden Sie einen Prinzipal für das angegebene Schema ab.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task ^ SignOutAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ scheme, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public static System.Threading.Tasks.Task SignOutAsync (this Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public static System.Threading.Tasks.Task SignOutAsync (this Microsoft.AspNetCore.Http.HttpContext context, string? scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
static member SignOutAsync : Microsoft.AspNetCore.Http.HttpContext * string * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
<Extension()>
Public Function SignOutAsync (context As HttpContext, scheme As String, properties As AuthenticationProperties) As Task

Parameter

context
HttpContext

Der HttpContext Kontext.

scheme
String

Der Name des Authentifizierungsschemas.

properties
AuthenticationProperties

Die AuthenticationProperties Eigenschaften.

Gibt zurück

Die Aufgabe.

Gilt für: