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
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.