次の方法で共有


AuthorizationHandlerContext コンストラクター

定義

AuthorizationHandlerContext の新しいインスタンスを作成します。

public:
 AuthorizationHandlerContext(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ requirements, System::Security::Claims::ClaimsPrincipal ^ user, System::Object ^ resource);
public AuthorizationHandlerContext (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> requirements, System.Security.Claims.ClaimsPrincipal user, object resource);
public AuthorizationHandlerContext (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> requirements, System.Security.Claims.ClaimsPrincipal user, object? resource);
new Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext : seq<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> * System.Security.Claims.ClaimsPrincipal * obj -> Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext
Public Sub New (requirements As IEnumerable(Of IAuthorizationRequirement), user As ClaimsPrincipal, resource As Object)

パラメーター

requirements
IEnumerable<IAuthorizationRequirement>

現在の承認アクションのすべての の IAuthorizationRequirement コレクション。

user
ClaimsPrincipal

現在のユーザーを表す ClaimsPrincipal

resource
Object

を評価 requirements する省略可能なリソース。

適用対象