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 AccessToken: (source)
Describe a stored personal access token.
The secret itself is never part of this entity, only the metadata needed to accept, restrict and audit the credential.
| Method | to |
Serialize token metadata without any usable credential material. |
| Instance Variable | abilities |
Abilities the token may use, or None when the token keeps the full authorization of the identity. |
| Instance Variable | created |
Moment the token was issued. |
| Instance Variable | expires |
Moment the token stops being accepted. |
| Instance Variable | id |
Primary key of the token row. |
| Instance Variable | last |
Moment the token was last presented on a request. |
| Instance Variable | name |
Human readable label describing the token. |
| Instance Variable | revoked |
Moment the token was revoked. |
| Instance Variable | tokenable |
Identifier of the identity owning the token. |
| Instance Variable | tokenable |
Polymorphic type of the identity owning the token. |