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

Represent the configuration of personal access token authentication.

Method __post_init__ Validate the token configuration after initialization.
Instance Variable expiration Lifetime of a freshly issued token, in minutes. None issues tokens that never expire on their own.
Instance Variable secret_bytes Number of random bytes used to build the secret of a token.
Instance Variable table Table storing the issued personal access tokens.

Inherited from BaseEntity:

Class Method _cachedFieldMetadata Retrieve field definitions and normalized types cached by class.
Method getFields Describe field names, normalized types, defaults, and metadata.
Method toDict Convert the dataclass instance to a recursively copied dictionary.
Class Variable __slots__ Undocumented
def __post_init__(self): (source)

Validate the token configuration after initialization.

Returns
NoneThis method validates the instance attributes in place.
Raises
TypeErrorIf any option has an unexpected type.
ValueErrorIf table is empty, expiration is not positive, or secret_bytes falls outside the supported range.
expiration: int | None = (source)

Lifetime of a freshly issued token, in minutes. None issues tokens that never expire on their own.

secret_bytes: int = (source)

Number of random bytes used to build the secret of a token.

Table storing the issued personal access tokens.