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 EncrypterProvider(ServiceProvider): (source)
Service provider for the Orionis encryption system.
Binds IEncrypter to Encrypter as a singleton and pins
the Crypt facade so the synchronous Crypt.encrypt(...) and
Crypt.decrypt(...) calls resolve without container overhead.
| Async Method | boot |
Pin the Crypt facade after all services are registered. |
| Method | register |
Register the encrypter service in the application container. |
Pin the Crypt facade after all services are registered.
Pinning is mandatory here because the encrypter exposes a synchronous API: consumers such as Stringable.encrypt() call the facade without awaiting, and an unpinned facade would hand them a dispatcher object.
| Returns | |
None | This method does not return a value. It performs initialization only. |