ClaimPolicyBuilder class

Builder for defining claim-based authorization policies.

public sealed class ClaimPolicyBuilder

Public Members

name description
ClaimPolicyBuilder() The default constructor.
static Create() Creates a new instance of the ClaimPolicyBuilder.
Policies { get; } Gets the dictionary of all configured policies.
AddPolicy(…) Adds a new policy with a required claim rule. (3 methods)
Build() Builds the configuration object.
Clear() Clears all defined policies from the builder.
override ToString() Returns a string representation of the builder.

See Also