ORIONIS API REFERENCE

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

Seal state across workers sharing an application key and GCM cipher.

Method __init__ Require authenticated encryption rather than unauthenticated CBC.
Method open Authenticate and validate client-carried state before using its data.
Method seal Encrypt data bound to its principal, arguments, method and expiry.
Class Variable __slots__ Declare the instance attribute slots reserved by this class.
Instance Variable _encrypter Value supplied for encrypter.
def __init__(self, app: IApplication, encrypter: IEncrypter): (source)

Require authenticated encryption rather than unauthenticated CBC.

Parameters
app:orionis.IApplicationApplication container supplying configuration and dependencies.
encrypter:orionis.encrypter.contracts.IEncrypterValue supplied for encrypter.
Returns
NoneComplete the documented operation without returning a value.
def open(self, request: McpRequest) -> object: (source)

Authenticate and validate client-carried state before using its data.

Parameters
request:orionis.mcp.McpRequestCurrent request and its trusted execution context.
Returns
objectResult of the operation described above.
def seal(self, request: McpRequest, value: object, *, ttl: int = 300) -> str: (source)

Encrypt data bound to its principal, arguments, method and expiry.

Parameters
request:orionis.mcp.McpRequestCurrent request and its trusted execution context.
value:objectValue to inspect, transform or validate.
ttl:intValue supplied for ttl.
Returns
strResult of the operation described above.
__slots__: tuple[str, ...] = (source)

Declare the instance attribute slots reserved by this class.

_encrypter = (source)

Value supplied for encrypter.