Partager via


AuthenticationManager.ForbidAsync Méthode

Définition

Surcharges

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

Crée un défi pour le gestionnaire d’authentification avec Forbidden.

ForbidAsync(AuthenticationProperties)

Crée un défi pour le gestionnaire d’authentification avec 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

Paramètres

authenticationScheme
String

Retours

S’applique à

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

Paramètres

authenticationScheme
String

Retours

S’applique à

ForbidAsync()

Source:
AuthenticationManager.cs
Source:
AuthenticationManager.cs

Crée un défi pour le gestionnaire d’authentification avec 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

Retours

Task qui représente l’opération de défi asynchrone.

S’applique à

ForbidAsync(AuthenticationProperties)

Source:
AuthenticationManager.cs
Source:
AuthenticationManager.cs

Crée un défi pour le gestionnaire d’authentification avec 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

Paramètres

properties
AuthenticationProperties

Valeurs arbitraires supplémentaires qui peuvent être utilisées par des types d'authentification particuliers.

Retours

Task qui représente l’opération de défi asynchrone.

S’applique à