次の方法で共有


AuthenticationManager.ForbidAsync メソッド

定義

オーバーロード

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

を使用して認証マネージャーのチャレンジを Forbidden作成します。

ForbidAsync(AuthenticationProperties)

を使用して認証マネージャーのチャレンジを Forbidden作成します。

ForbidAsync(String, AuthenticationProperties)

ソース:
AuthenticationManager.cs
ソース:
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)

ソース:
AuthenticationManager.cs
ソース:
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()

ソース:
AuthenticationManager.cs
ソース:
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)

ソース:
AuthenticationManager.cs
ソース:
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非同期チャレンジ操作を表す 。

適用対象