ClaimRule constructor (1 of 2)
Constructs a rule from a claim type and an explicit read-only list of values.
public ClaimRule(string claimType, IReadOnlyList<string> allowedValues)
See Also
- record ClaimRule
- namespace Kestrun.Claims
ClaimRule constructor (2 of 2)
Constructs a rule from a claim type and one or more allowed values.
public ClaimRule(string claimType, params string[] allowedValues)
See Also
- record ClaimRule
- namespace Kestrun.Claims