Compartir a través de


AuthenticationHttpContextExtensions.SignOutAsync Método

Definición

Sobrecargas

SignOutAsync(HttpContext, String)

Cierre la sesión de una entidad de seguridad para el esquema especificado.

SignOutAsync(HttpContext)

Cierre la sesión de una entidad de seguridad para el esquema de autenticación predeterminado. El esquema predeterminado para cerrar sesión se puede configurar mediante DefaultSignOutScheme.

SignOutAsync(HttpContext, AuthenticationProperties)

Cierre la sesión de una entidad de seguridad para el esquema de autenticación predeterminado. El esquema predeterminado para cerrar sesión se puede configurar mediante DefaultSignOutScheme.

SignOutAsync(HttpContext, String, AuthenticationProperties)

Cierre la sesión de una entidad de seguridad para el esquema especificado.

SignOutAsync(HttpContext, String)

Source:
AuthenticationHttpContextExtensions.cs
Source:
AuthenticationHttpContextExtensions.cs
Source:
AuthenticationHttpContextExtensions.cs

Cierre la sesión de una entidad de seguridad para el esquema especificado.

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

Parámetros

context
HttpContext

Contexto HttpContext .

scheme
String

Nombre del esquema de autenticación.

Devoluciones

Tarea.

Se aplica a

SignOutAsync(HttpContext)

Source:
AuthenticationHttpContextExtensions.cs
Source:
AuthenticationHttpContextExtensions.cs
Source:
AuthenticationHttpContextExtensions.cs

Cierre la sesión de una entidad de seguridad para el esquema de autenticación predeterminado. El esquema predeterminado para cerrar sesión se puede configurar mediante 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

Parámetros

context
HttpContext

Contexto HttpContext .

Devoluciones

Tarea.

Se aplica a

SignOutAsync(HttpContext, AuthenticationProperties)

Source:
AuthenticationHttpContextExtensions.cs
Source:
AuthenticationHttpContextExtensions.cs
Source:
AuthenticationHttpContextExtensions.cs

Cierre la sesión de una entidad de seguridad para el esquema de autenticación predeterminado. El esquema predeterminado para cerrar sesión se puede configurar mediante 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

Parámetros

context
HttpContext

Contexto HttpContext .

Devoluciones

Tarea.

Se aplica a

SignOutAsync(HttpContext, String, AuthenticationProperties)

Source:
AuthenticationHttpContextExtensions.cs
Source:
AuthenticationHttpContextExtensions.cs
Source:
AuthenticationHttpContextExtensions.cs

Cierre la sesión de una entidad de seguridad para el esquema especificado.

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

Parámetros

context
HttpContext

Contexto HttpContext .

scheme
String

Nombre del esquema de autenticación.

Devoluciones

Tarea.

Se aplica a