AuthenticationManager.ForbidAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
ForbidAsync(String, AuthenticationProperties) | |
ForbidAsync(String) | |
ForbidAsync() |
Crea un desafío para el administrador de autenticación con Forbidden. |
ForbidAsync(AuthenticationProperties) |
Crea un desafío para el administrador de autenticación con Forbidden. |
ForbidAsync(String, AuthenticationProperties)
- Source:
- AuthenticationManager.cs
- Source:
- AuthenticationManager.cs
public:
virtual System::Threading::Tasks::Task ^ ForbidAsync(System::String ^ authenticationScheme, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public virtual System.Threading.Tasks.Task ForbidAsync (string authenticationScheme, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
abstract member ForbidAsync : string * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
override this.ForbidAsync : string * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public Overridable Function ForbidAsync (authenticationScheme As String, properties As AuthenticationProperties) As Task
Parámetros
- authenticationScheme
- String
- properties
- AuthenticationProperties
Devoluciones
Se aplica a
ForbidAsync(String)
- Source:
- AuthenticationManager.cs
- Source:
- AuthenticationManager.cs
public:
virtual System::Threading::Tasks::Task ^ ForbidAsync(System::String ^ authenticationScheme);
public virtual System.Threading.Tasks.Task ForbidAsync (string authenticationScheme);
abstract member ForbidAsync : string -> System.Threading.Tasks.Task
override this.ForbidAsync : string -> System.Threading.Tasks.Task
Public Overridable Function ForbidAsync (authenticationScheme As String) As Task
Parámetros
- authenticationScheme
- String
Devoluciones
Se aplica a
ForbidAsync()
- Source:
- AuthenticationManager.cs
- Source:
- AuthenticationManager.cs
Crea un desafío para el administrador de autenticación con Forbidden.
public:
virtual System::Threading::Tasks::Task ^ ForbidAsync();
public virtual System.Threading.Tasks.Task ForbidAsync ();
abstract member ForbidAsync : unit -> System.Threading.Tasks.Task
override this.ForbidAsync : unit -> System.Threading.Tasks.Task
Public Overridable Function ForbidAsync () As Task
Devoluciones
que Task representa la operación de desafío asincrónica.
Se aplica a
ForbidAsync(AuthenticationProperties)
- Source:
- AuthenticationManager.cs
- Source:
- AuthenticationManager.cs
Crea un desafío para el administrador de autenticación con Forbidden.
public:
virtual System::Threading::Tasks::Task ^ ForbidAsync(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public virtual System.Threading.Tasks.Task ForbidAsync (Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
abstract member ForbidAsync : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
override this.ForbidAsync : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public Overridable Function ForbidAsync (properties As AuthenticationProperties) As Task
Parámetros
- properties
- AuthenticationProperties
Valores arbitrarios adicionales que tipos de autenticación concretos pueden usar.
Devoluciones
que Task representa la operación de desafío asincrónica.