Methods
(static) emailAddress(addressnon-null) → {TenantId}
Constructs a `TenantId` which represents an email address.
Parameters:
Name | Type | Description |
---|---|---|
address |
string | the email address as a plain string |
- Source:
Returns:
a new `TenantId` instance
- Type
- TenantId
(static) internetDomain(domainNamenon-null) → {TenantId}
Constructs a `TenantId` which represents an internet domain.
Parameters:
Name | Type | Description |
---|---|---|
domainName |
string | the domain name as a plain string |
- Source:
Returns:
a new `TenantId` instance
- Type
- TenantId
(static) plainString(tenantIdValuenon-null) → {TenantId}
Constructs a `TenantId` which is a plain string value.
Parameters:
Name | Type | Description |
---|---|---|
tenantIdValue |
string | the tenant ID |
- Source:
Returns:
a new `TenantId` instance
- Type
- TenantId