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.

module documentation

Provide auth context operations.

Includes authentication_lock, current_auth_context, bind_auth_context.

Function authentication_lock Return the lock serializing authentication transitions in this scope.
Constant _AUTH_LOCK Sentinel distinguishing auth lock from ordinary values.
def authentication_lock() -> asyncio.Lock: (source)

Return the lock serializing authentication transitions in this scope.

Returns
asyncio.LockOne lock shared by resolution, login, logout and token revocation.
Raises
orionis.auth.AuthExceptionIf the owning scope is not active.
_AUTH_LOCK = (source)

Sentinel distinguishing auth lock from ordinary values.

Value
object()