SharedAccessAuthorizationRule SharedAccessAuthorizationRule SharedAccessAuthorizationRule Class

Definition

Defines the authorization rule for shared access operation.

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

Constructors

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

Initializes a new instance of the SharedAccessAuthorizationRule class.

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

Initializes a new instance of the SharedAccessAuthorizationRule class.

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

Initializes a new instance of the SharedAccessAuthorizationRule class.

Fields

NameIdentifierClaimType NameIdentifierClaimType NameIdentifierClaimType Inherited from AuthorizationRule
RoleClaimType RoleClaimType RoleClaimType Inherited from AuthorizationRule
RoleRoleClaimType RoleRoleClaimType RoleRoleClaimType Inherited from AuthorizationRule
Serializer Serializer Serializer
SharedAccessKeyClaimType SharedAccessKeyClaimType SharedAccessKeyClaimType Inherited from AuthorizationRule
ShortNameIdentifierClaimType ShortNameIdentifierClaimType ShortNameIdentifierClaimType Inherited from AuthorizationRule
ShortUpnClaimType ShortUpnClaimType ShortUpnClaimType Inherited from AuthorizationRule
UpnClaimType UpnClaimType UpnClaimType Inherited from AuthorizationRule

Properties

ClaimType ClaimType ClaimType Inherited from AuthorizationRule
ClaimValue ClaimValue ClaimValue Inherited from AuthorizationRule
CreatedTime CreatedTime CreatedTime Inherited from AuthorizationRule
IssuerName IssuerName IssuerName Inherited from AuthorizationRule
KeyName KeyName KeyName

Gets or sets the authorization rule key name.

ModifiedTime ModifiedTime ModifiedTime Inherited from AuthorizationRule
PrimaryKey PrimaryKey PrimaryKey

Gets or sets the primary key for the authorization rule.

Revision Revision Revision Inherited from AuthorizationRule
Rights Rights Rights Inherited from AuthorizationRule
SecondaryKey SecondaryKey SecondaryKey

Gets or sets the secondary key for the authorization rule.

Methods

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

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

GenerateRandomKey() GenerateRandomKey() GenerateRandomKey()

Generates the random key for the authorization rule.

GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for this instance.

OnValidate() OnValidate() OnValidate()

Checks the validity of the authorization rule.

ValidateRights(IEnumerable<AccessRights>) ValidateRights(IEnumerable<AccessRights>) ValidateRights(IEnumerable<AccessRights>)

Checks the validity of the specified access rights.

Extension Methods

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

Determines if a certain property is defined or not.

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

Determines if a certain property is null or not.

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

Determines if a certain property is of premitive JSON type.

Applies to