UserCreate
This class represents the schema for creating a new user, extending the base user model with a required password field. It enforces security constraints by validating that the password length is between 8 and 128 characters.
Attributes
| Attribute | Type | Description |
|---|---|---|
| password | str | The plain-text password for the new user account, which must be between 8 and 128 characters in length. |
Constructor
Signature
def UserCreate(
password: string
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| password | string | The user's password, which must be between 8 and 128 characters in length. |
Signature
def UserCreate(
password: string
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| password | string | The plain-text password for the new user account, which must be between 8 and 128 characters in length. |