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.
module documentation
Undocumented
| Function | build |
Register the authentication routes on the given router. |
def build_auth_routes(router:
IRouter, login_controller: type | None = None, register_controller: type | None = None, forgot_password_controller: type | None = None):
(source)
¶
Register the authentication routes on the given router.
| Parameters | |
router:IRouter | Router that receives the authentication routes. |
logintype | None, optional | Controller type used for login and logout routes. |
registertype | None, optional | Controller type used for registration and email verification routes. |
forgottype | None, optional | Controller type used for password recovery and reset routes. |
| Returns | |
None | Register the routes in place and return nothing. |