AuthorizationRule Class

Definition

Defines the Azure Notification Hubs authorization rule that is used to determine whether an operation is permissible or not.

[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.Messaging.SharedAccessAuthorizationRule))]
public abstract class AuthorizationRule
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.Messaging.SharedAccessAuthorizationRule))>]
type AuthorizationRule = class
Public MustInherit Class AuthorizationRule
Inheritance
AuthorizationRule
Derived
Attributes

Fields

NameIdentifierClaimType

The name identifier claim rule.

RoleClaimType

The role claim rule.

RoleRoleClaimType

The role role claim rule.

SharedAccessKeyClaimType

The shared access key claim rule.

ShortNameIdentifierClaimType

The short name identifier claim rule.

ShortUpnClaimType

The short UPN claim rule.

UpnClaimType

The UPN claim rule.

Properties

ClaimType

Gets or sets the claim type.

ClaimValue

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

CreatedTime

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

IssuerName

Gets or sets the name identifier of the issuer.

KeyName

Gets or sets the authorization rule key name.

ModifiedTime

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

Revision

Gets or sets the modification revision number.

Rights

Gets or sets the list of rights.

Methods

Clone()

Creates a copy of AuthorizationRule.

Equals(Object)

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

GetHashCode()

Returns the hash code for this instance.

OnValidate()

Called when [validate].

ValidateRights(IEnumerable<AccessRights>)

Checks the validity of the specified access rights.

Applies to