Udostępnij za pośrednictwem


AuthenticationHttpContextExtensions.SignOutAsync Metoda

Definicja

Przeciążenia

SignOutAsync(HttpContext, String)

Wyloguj podmiot zabezpieczeń dla określonego schematu.

SignOutAsync(HttpContext)

Wyloguj podmiot zabezpieczeń dla domyślnego schematu uwierzytelniania. Domyślny schemat wylogowywujący można skonfigurować przy użyciu polecenia DefaultSignOutScheme.

SignOutAsync(HttpContext, AuthenticationProperties)

Wyloguj podmiot zabezpieczeń dla domyślnego schematu uwierzytelniania. Domyślny schemat wylogowywujący można skonfigurować przy użyciu polecenia DefaultSignOutScheme.

SignOutAsync(HttpContext, String, AuthenticationProperties)

Wyloguj podmiot zabezpieczeń dla określonego schematu.

SignOutAsync(HttpContext, String)

Źródło:
AuthenticationHttpContextExtensions.cs
Źródło:
AuthenticationHttpContextExtensions.cs
Źródło:
AuthenticationHttpContextExtensions.cs

Wyloguj podmiot zabezpieczeń dla określonego schematu.

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

Parametry

context
HttpContext

Kontekst HttpContext .

scheme
String

Nazwa schematu uwierzytelniania.

Zwraca

Zadanie.

Dotyczy

SignOutAsync(HttpContext)

Źródło:
AuthenticationHttpContextExtensions.cs
Źródło:
AuthenticationHttpContextExtensions.cs
Źródło:
AuthenticationHttpContextExtensions.cs

Wyloguj podmiot zabezpieczeń dla domyślnego schematu uwierzytelniania. Domyślny schemat wylogowywujący można skonfigurować przy użyciu polecenia DefaultSignOutScheme.

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

Parametry

context
HttpContext

Kontekst HttpContext .

Zwraca

Zadanie.

Dotyczy

SignOutAsync(HttpContext, AuthenticationProperties)

Źródło:
AuthenticationHttpContextExtensions.cs
Źródło:
AuthenticationHttpContextExtensions.cs
Źródło:
AuthenticationHttpContextExtensions.cs

Wyloguj podmiot zabezpieczeń dla domyślnego schematu uwierzytelniania. Domyślny schemat wylogowywujący można skonfigurować przy użyciu polecenia DefaultSignOutScheme.

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

Parametry

context
HttpContext

Kontekst HttpContext .

Zwraca

Zadanie.

Dotyczy

SignOutAsync(HttpContext, String, AuthenticationProperties)

Źródło:
AuthenticationHttpContextExtensions.cs
Źródło:
AuthenticationHttpContextExtensions.cs
Źródło:
AuthenticationHttpContextExtensions.cs

Wyloguj podmiot zabezpieczeń dla określonego schematu.

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

Parametry

context
HttpContext

Kontekst HttpContext .

scheme
String

Nazwa schematu uwierzytelniania.

Zwraca

Zadanie.

Dotyczy