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

class NewAccessToken: (source)

View In Hierarchy

Pair a freshly issued token with its plain text value.

The plain text value only exists in the return value of the call that issued the token. It is never persisted and cannot be recovered later.

Method toDict Serialize only public metadata; access plain_text explicitly to issue it.
Instance Variable access_token Metadata of the stored token.
Instance Variable plain_text Value the client must send in the Authorization header. It is excluded from repr() so it never leaks into logs or tracebacks.
def toDict(self) -> dict[str, object]: (source)

Serialize only public metadata; access plain_text explicitly to issue it.

Returns
dict[str, object]Redacted token metadata excluding the plain text credential.

Metadata of the stored token.

plain_text: str = (source)

Value the client must send in the Authorization header. It is excluded from repr() so it never leaks into logs or tracebacks.