IAuthenticationSchemeProvider.GetDefaultForbidSchemeAsync Yöntem

Tanım

için ForbidAsync(HttpContext, String, AuthenticationProperties)varsayılan olarak kullanılacak düzeni döndürür. Bu genellikle aracılığıyla DefaultForbidSchemebelirtilir. Aksi takdirde, bu geri dönüş olur GetDefaultChallengeSchemeAsync() .

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

Döndürülenler

için ForbidAsync(HttpContext, String, AuthenticationProperties)varsayılan olarak kullanılacak düzen.

Şunlara uygulanır