AllowRegistrationDomain

class AllowRegistrationDomain[source]

An ALLOW registration domain rule that maps a domain to a tenant role.

type: Literal['allow']

Always ‘allow’.

id: str

The id of the rule.

domain: str

The email domain.

match_subdomains: bool

Whether subdomains are also matched.

tenant_role: TenantRoleWithTenant

The tenant role this rule maps to.