AuthenticationHttpContextExtensions.SignOutAsync Metodo

Definizione

Overload

SignOutAsync(HttpContext, String)

Disconnettere un'entità per lo schema specificato.

SignOutAsync(HttpContext)

Disconnettere un'entità per lo schema di autenticazione predefinito. Lo schema predefinito per la disconnessione può essere configurato usando DefaultSignOutScheme.

SignOutAsync(HttpContext, AuthenticationProperties)

Disconnettere un'entità per lo schema di autenticazione predefinito. Lo schema predefinito per la disconnessione può essere configurato usando DefaultSignOutScheme.

SignOutAsync(HttpContext, String, AuthenticationProperties)

Disconnettere un'entità per lo schema specificato.

SignOutAsync(HttpContext, String)

Origine:
AuthenticationHttpContextExtensions.cs
Origine:
AuthenticationHttpContextExtensions.cs
Origine:
AuthenticationHttpContextExtensions.cs

Disconnettere un'entità per lo schema specificato.

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

Parametri

context
HttpContext

Contesto HttpContext .

scheme
String

Nome dello schema di autenticazione.

Restituisce

Attività.

Si applica a

SignOutAsync(HttpContext)

Origine:
AuthenticationHttpContextExtensions.cs
Origine:
AuthenticationHttpContextExtensions.cs
Origine:
AuthenticationHttpContextExtensions.cs

Disconnettere un'entità per lo schema di autenticazione predefinito. Lo schema predefinito per la disconnessione può essere configurato usando 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

Parametri

context
HttpContext

Contesto HttpContext .

Restituisce

Attività.

Si applica a

SignOutAsync(HttpContext, AuthenticationProperties)

Origine:
AuthenticationHttpContextExtensions.cs
Origine:
AuthenticationHttpContextExtensions.cs
Origine:
AuthenticationHttpContextExtensions.cs

Disconnettere un'entità per lo schema di autenticazione predefinito. Lo schema predefinito per la disconnessione può essere configurato usando 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

Parametri

context
HttpContext

Contesto HttpContext .

Restituisce

Attività.

Si applica a

SignOutAsync(HttpContext, String, AuthenticationProperties)

Origine:
AuthenticationHttpContextExtensions.cs
Origine:
AuthenticationHttpContextExtensions.cs
Origine:
AuthenticationHttpContextExtensions.cs

Disconnettere un'entità per lo schema specificato.

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

Parametri

context
HttpContext

Contesto HttpContext .

scheme
String

Nome dello schema di autenticazione.

Restituisce

Attività.

Si applica a