THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
Validate the current password and its proposed replacement.
| Class Variable | current |
Current account password supplied for verification. |
| Class Variable | password |
Account password subject to the declared validation constraints. |
| Class Variable | password |
Repeated password value that must match the password field. |
Inherited from Schema:
| Method | to |
Recursively convert the schema instance into a dictionary. |
current_password:
Field[ str, Message( 'Enter your current password.'), MinLength( 1, message='Enter your current password.'), MaxLength( 1024, message='Password must not exceed 1024 characters.')] =
(source)
¶
Current account password supplied for verification.
password:
Field[ str, Message( 'Enter a new password.'), MinLength( 8, message='Password must be at least 8 characters long.'), MaxLength( 1024, message='Password must not exceed 1024 characters.'), StrongPassword( message='Use at least 8 characters, an uppercase letter, a lowercase letter and a number.')] =
(source)
¶
Account password subject to the declared validation constraints.
password_confirmation:
Field[ str, Message( 'Confirm your new password.'), MinLength( 1, message='Confirm your new password.'), MaxLength( 1024, message='Password must not exceed 1024 characters.'), ConfirmPassword( message='Password confirmation does not match.')] =
(source)
¶
Repeated password value that must match the password field.