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 EncrypterProvider(ServiceProvider): (source)
Service provider for the Orionis encryption system.
Binds orionis.encrypter.contracts.IEncrypter to
orionis.encrypter.Encrypter as a singleton and pins
the orionis.support.facades.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 |
Bind the encrypter contract to its singleton implementation. |
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 | No return value. |