Partilhar via


AuthenticationManager.ForbidAsync Método

Definição

Sobrecargas

ForbidAsync(String, AuthenticationProperties)
ForbidAsync(String)
ForbidAsync()

Cria um desafio para o gerenciador de autenticação com Forbidden.

ForbidAsync(AuthenticationProperties)

Cria um desafio para o gerenciador de autenticação com Forbidden.

ForbidAsync(String, AuthenticationProperties)

Origem:
AuthenticationManager.cs
Origem:
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

Retornos

Aplica-se a

ForbidAsync(String)

Origem:
AuthenticationManager.cs
Origem:
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

Retornos

Aplica-se a

ForbidAsync()

Origem:
AuthenticationManager.cs
Origem:
AuthenticationManager.cs

Cria um desafio para o gerenciador de autenticação com 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

Retornos

Um Task que representa a operação de desafio assíncrona.

Aplica-se a

ForbidAsync(AuthenticationProperties)

Origem:
AuthenticationManager.cs
Origem:
AuthenticationManager.cs

Cria um desafio para o gerenciador de autenticação com 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 arbitrários adicionais que podem ser usados por tipos de autenticação específicos.

Retornos

Um Task que representa a operação de desafio assíncrona.

Aplica-se a