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 PasswordReset(BaseEntity): (source)

View In Hierarchy

Represent the configuration of password reset functionality.

Method __post_init__ Validate password reset limits and the token table name.
Instance Variable expiration Lifetime of the password reset link, in minutes.
Instance Variable table Table storing the password reset tokens.
Instance Variable throttle Throttle delay between password reset requests for the same account, in seconds.

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 password reset limits and the token table name.

Returns
NoneCompletes validation without returning a value.
Raises
ValueErrorIf a limit is not positive or the table name is empty.
expiration: int = (source)

Lifetime of the password reset link, in minutes.

Table storing the password reset tokens.

throttle: int = (source)

Throttle delay between password reset requests for the same account, in seconds.