Sdílet prostřednictvím


AuthenticationManager.ForbidAsync Metoda

Definice

Přetížení

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

Vytvoří výzvu pro správce ověřování pomocí Forbiddenpříkazu .

ForbidAsync(AuthenticationProperties)

Vytvoří výzvu pro správce ověřování pomocí Forbiddenpříkazu .

ForbidAsync(String, AuthenticationProperties)

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

Parametry

authenticationScheme
String

Návraty

Platí pro

ForbidAsync(String)

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

Parametry

authenticationScheme
String

Návraty

Platí pro

ForbidAsync()

Zdroj:
AuthenticationManager.cs
Zdroj:
AuthenticationManager.cs

Vytvoří výzvu pro správce ověřování pomocí Forbiddenpříkazu .

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

Návraty

A Task , který představuje asynchronní operaci výzvy.

Platí pro

ForbidAsync(AuthenticationProperties)

Zdroj:
AuthenticationManager.cs
Zdroj:
AuthenticationManager.cs

Vytvoří výzvu pro správce ověřování pomocí Forbiddenpříkazu .

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

Parametry

properties
AuthenticationProperties

Další libovolné hodnoty, které mohou být používány konkrétními typy ověřování.

Návraty

A Task , který představuje asynchronní operaci výzvy.

Platí pro