Compartir a través de


AuthenticationSchemeProvider.GetDefaultForbidSchemeAsync Método

Definición

Devuelve el esquema que se usará de forma predeterminada para ForbidAsync(HttpContext, String, AuthenticationProperties). Normalmente, esto se especifica a través de DefaultForbidScheme. De lo contrario, se revertirá a GetDefaultChallengeSchemeAsync() .

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticationScheme ^> ^ GetDefaultForbidSchemeAsync();
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetDefaultForbidSchemeAsync ();
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme?> GetDefaultForbidSchemeAsync ();
abstract member GetDefaultForbidSchemeAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
override this.GetDefaultForbidSchemeAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
Public Overridable Function GetDefaultForbidSchemeAsync () As Task(Of AuthenticationScheme)

Devoluciones

Esquema que se usará de forma predeterminada para ForbidAsync(HttpContext, String, AuthenticationProperties).

Implementaciones

Se aplica a