Table of Contents

Class AllowRule

Namespace
Microsoft.ServiceBus.Messaging
Assembly
Microsoft.ServiceBus.dll

Represents the rule to allow.

[DataContract(Name = "AllowRule", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class AllowRule : AuthorizationRule
Inheritance
AllowRule
Inherited Members

Constructors

AllowRule()

Initializes a new instance of the AllowRule class.

public AllowRule()

AllowRule(string, AllowRuleClaimType, string, IEnumerable<AccessRights>)

Initializes a new instance of the AllowRule class with the specified parameters.

public AllowRule(string issuerName, AllowRuleClaimType claimType, string claimValue, IEnumerable<AccessRights> rights)

Parameters

issuerName string

The IssuerName name of the claim issuer.

claimType AllowRuleClaimType

The ClaimType type of the claim.

claimValue string

The ClaimValue value of the claim.

rights IEnumerable<AccessRights>

The list of possible Rights.

AllowRule(string, string, string, IEnumerable<AccessRights>)

Initializes a new instance of AllowRule class.

public AllowRule(string issuerName, string claimType, string claimValue, IEnumerable<AccessRights> rights)

Parameters

issuerName string

The IssuerName name of the claim issuer.

claimType string

The ClaimType type of the claim.

claimValue string

The ClaimValue value of the claim.

rights IEnumerable<AccessRights>

The list of possible Rights.

Properties

KeyName

Gets or sets the allow rule key name.

public override string KeyName { get; set; }

Property Value

string

The allow rule key name.