AuthorizationRule Class

Authorization rule of an entity.

Inheritance
builtins.object
AuthorizationRule

Constructor

AuthorizationRule(*, type: str | None = None, claim_type: str | None = None, claim_value: str | None = None, rights: List[str | AccessRights] | None = None, created_at_utc: datetime | None = None, modified_at_utc: datetime | None = None, key_name: str | None = None, primary_key: str | None = None, secondary_key: str | None = None)

Keyword-Only Parameters

Name Description
type
str

The authorization type.

claim_type
str

The claim type.

claim_value
str

The claim value.

rights

Access rights of the entity. Values are 'Send', 'Listen', or 'Manage'.

created_at_utc

The date and time when the authorization rule was created.

modified_at_utc

The date and time when the authorization rule was modified.

key_name
str

The authorization rule key name.

primary_key
str

The primary key of the authorization rule.

secondary_key
str

The primary key of the authorization rule.