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
class RegisterController(BaseController): (source)
Undocumented
| Async Method | __resolve |
Resolve the account referenced by an encrypted verification link. |
| Async Method | index |
Return the registration page response. |
| Async Method | register |
Handle the registration form submission. |
| Async Method | send |
Send a verification email to the newly registered user. |
| Async Method | verify |
Activate the account addressed by a verification link. |
| Constant | REGISTER |
Undocumented |
| Constant | REGISTER |
Undocumented |
| Constant | VERIFY |
Undocumented |
| Constant | VERIFY |
Undocumented |
Resolve the account referenced by an encrypted verification link.
| Parameters | |
encryptedstr | None | Encrypted identifier extracted from the verification link. |
| Returns | |
User | None | Matching user, or None when the link is absent, forged or points to an account that no longer exists. |
Return the registration page response.
| Returns | |
HttpResponse | Rendered response for the registration page. |
Handle the registration form submission.
| Parameters | |
payload:RegisterSchema | Incoming request carrying the submitted account data. |
request:Request | Current request and its trusted execution context. |
| Returns | |
HttpResponse | Redirect to login after the account is created. |
Send a verification email to the newly registered user.
| Parameters | |
basestr | The base URL of the application, used to construct the verification link. |
user:User | The user to whom the verification email will be sent. |
| Returns | |
MailResult | The result of the email sending operation. |
Activate the account addressed by a verification link.
| Parameters | |
request:Request | Incoming request carrying the encrypted identifier in its query string. |
| Returns | |
HttpResponse | Rendered outcome page reporting the verification state. |