AuthenticationManager.ForbidAsync 方法

定义

重载

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

使用 Forbidden为身份验证管理器创建质询。

ForbidAsync(AuthenticationProperties)

使用 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

参数

authenticationScheme
String

返回

适用于

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

参数

authenticationScheme
String

返回

适用于

ForbidAsync()

Source:
AuthenticationManager.cs
Source:
AuthenticationManager.cs

使用 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

返回

表示 Task 异步质询操作的 。

适用于

ForbidAsync(AuthenticationProperties)

Source:
AuthenticationManager.cs
Source:
AuthenticationManager.cs

使用 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

参数

properties
AuthenticationProperties

特定身份验证类型可以使用的其他任意值。

返回

表示 Task 异步质询操作的 。

适用于