Udostępnij za pośrednictwem


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
[<System.Runtime.Serialization.DataContract(Name="SharedAccessAuthorizationRule", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type SharedAccessAuthorizationRule = class
    inherit AuthorizationRule
Public Class SharedAccessAuthorizationRule
Inherits AuthorizationRule
Inheritance
SharedAccessAuthorizationRule
Attributes

Constructors

SharedAccessAuthorizationRule(String, IEnumerable<AccessRights>)

Initializes a new instance of the SharedAccessAuthorizationRule class.

SharedAccessAuthorizationRule(String, String, IEnumerable<AccessRights>)

Initializes a new instance of the SharedAccessAuthorizationRule class.

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

Initializes a new instance of the SharedAccessAuthorizationRule class.

Fields

NameIdentifierClaimType

The name identifier claim rule.

(Inherited from AuthorizationRule)
RoleClaimType

The role role claim rule.

(Inherited from AuthorizationRule)
RoleRoleClaimType

The role role claim rule.

(Inherited from AuthorizationRule)
Serializer

A serializer for objects of type SharedAccessAuthorizationRule.

SharedAccessKeyClaimType

The shared access key claim rule.

(Inherited from AuthorizationRule)
ShortNameIdentifierClaimType

The short name identifier claim rule.

(Inherited from AuthorizationRule)
ShortUpnClaimType

The short UPN claim rule.

(Inherited from AuthorizationRule)
UpnClaimType

The UPN claim rule.

(Inherited from AuthorizationRule)

Properties

ClaimType

Gets or sets the claim type.

(Inherited from AuthorizationRule)
ClaimValue

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

(Inherited from AuthorizationRule)
CreatedTime

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

(Inherited from AuthorizationRule)
IssuerName

Gets or sets the name identifier of the issuer.

(Inherited from AuthorizationRule)
KeyName

Gets or sets the authorization rule key name.

ModifiedTime

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

(Inherited from AuthorizationRule)
PrimaryKey

Gets or sets the primary key for the authorization rule.

Revision

Gets or sets the modification revision number.

(Inherited from AuthorizationRule)
Rights

Gets or sets the list of rights.

(Inherited from AuthorizationRule)
SecondaryKey

Gets or sets the secondary key for the authorization rule.

Methods

Clone()

Creates a copy of AuthorizationRule.

(Inherited from AuthorizationRule)
Equals(Object)

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

GenerateRandomKey()

Generates the random key for the authorization rule.

GetHashCode()

Returns the hash code for this instance.

OnValidate()

Checks the validity of the authorization rule.

ValidateRights(IEnumerable<AccessRights>)

Checks the validity of the specified access rights.

Applies to