AllowRule AllowRule AllowRule AllowRule AllowRule Class

Definition

Represents the rule to allow.

public ref class AllowRule : Microsoft::ServiceBus::Messaging::AuthorizationRule
[Windows::Foundation::Metadata::WebHostHidden]
class AllowRule : Microsoft::ServiceBus::Messaging::AuthorizationRule
[System.Runtime.Serialization.DataContract(Name="AllowRule", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class AllowRule : Microsoft.ServiceBus.Messaging.AuthorizationRule
type AllowRule = class
    inherit AuthorizationRule
Public Class AllowRule
Inherits AuthorizationRule
Inheritance
Attributes

Constructors

AllowRule() AllowRule() AllowRule() AllowRule() AllowRule()

Initializes a new instance of the AllowRule class.

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

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

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

Initializes a new instance of AllowRule class.

Properties

ClaimType ClaimType ClaimType ClaimType ClaimType

Gets or sets the claim type.

(Inherited from AuthorizationRule)
ClaimValue ClaimValue ClaimValue ClaimValue ClaimValue

Gets or sets the claim value which is either ‘Send’, ‘Listen’, or ‘Manage’.

(Inherited from AuthorizationRule)
CreatedTime CreatedTime CreatedTime CreatedTime CreatedTime

Gets or sets the date and time when the authorization rule was created.

(Inherited from AuthorizationRule)
IssuerName IssuerName IssuerName IssuerName IssuerName

Gets or sets the name identifier of the issuer.

(Inherited from AuthorizationRule)
KeyName KeyName KeyName KeyName KeyName

Gets or sets the allow rule key name.

ModifiedTime ModifiedTime ModifiedTime ModifiedTime ModifiedTime

Gets or sets the date and time when the authorization rule was modified.

(Inherited from AuthorizationRule)
Revision Revision Revision Revision Revision

Gets or sets the modification revision number.

(Inherited from AuthorizationRule)
Rights Rights Rights Rights Rights

Gets or sets the list of rights.

(Inherited from AuthorizationRule)

Methods

Clone() Clone() Clone() Clone() Clone()

Creates a copy of AuthorizationRule.

(Inherited from AuthorizationRule)
Equals(Object) Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from AuthorizationRule)
GetHashCode() GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for this instance.

(Inherited from AuthorizationRule)
OnValidate() OnValidate() OnValidate() OnValidate() OnValidate()

Enables derived classes to provide custom handling when validating the authorization rule.

(Inherited from AuthorizationRule)
ValidateRights(IEnumerable<AccessRights>) ValidateRights(IEnumerable<AccessRights>) ValidateRights(IEnumerable<AccessRights>) ValidateRights(IEnumerable<AccessRights>) ValidateRights(IEnumerable<AccessRights>)

Checks the validity of the specified access rights.

(Inherited from AuthorizationRule)

Fields

NameIdentifierClaimType NameIdentifierClaimType NameIdentifierClaimType NameIdentifierClaimType NameIdentifierClaimType

The name identifier claim rule.

(Inherited from AuthorizationRule)
RoleClaimType RoleClaimType RoleClaimType RoleClaimType RoleClaimType

The role role claim rule.

(Inherited from AuthorizationRule)
RoleRoleClaimType RoleRoleClaimType RoleRoleClaimType RoleRoleClaimType RoleRoleClaimType

The role role claim rule.

(Inherited from AuthorizationRule)
SharedAccessKeyClaimType SharedAccessKeyClaimType SharedAccessKeyClaimType SharedAccessKeyClaimType SharedAccessKeyClaimType

The shared access key claim rule.

(Inherited from AuthorizationRule)
ShortNameIdentifierClaimType ShortNameIdentifierClaimType ShortNameIdentifierClaimType ShortNameIdentifierClaimType ShortNameIdentifierClaimType

The short name identifier claim rule.

(Inherited from AuthorizationRule)
ShortUpnClaimType ShortUpnClaimType ShortUpnClaimType ShortUpnClaimType ShortUpnClaimType

The short UPN claim rule.

(Inherited from AuthorizationRule)
UpnClaimType UpnClaimType UpnClaimType UpnClaimType UpnClaimType

The UPN claim rule.

(Inherited from AuthorizationRule)

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to