EvaluationContext.AddClaimSet(IAuthorizationPolicy, ClaimSet) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a set of claims to the evaluation context.
public:
abstract void AddClaimSet(System::IdentityModel::Policy::IAuthorizationPolicy ^ policy, System::IdentityModel::Claims::ClaimSet ^ claimSet);
public abstract void AddClaimSet (System.IdentityModel.Policy.IAuthorizationPolicy policy, System.IdentityModel.Claims.ClaimSet claimSet);
abstract member AddClaimSet : System.IdentityModel.Policy.IAuthorizationPolicy * System.IdentityModel.Claims.ClaimSet -> unit
Public MustOverride Sub AddClaimSet (policy As IAuthorizationPolicy, claimSet As ClaimSet)
Parameters
- policy
- IAuthorizationPolicy
An IAuthorizationPolicy that represents the authorization policy that is adding claims to the evaluation context.
Remarks
The claims are added to the set of claims contained within the ClaimSets property.
Each time the AddClaimSet method is called to add claims to the evaluation context, the Generation property should be incremented.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET