Unified in-memory receipt model.
keystone.models.receipt_model.ReceiptModel[source]¶Bases: object
An object that represents a receipt emitted by keystone.
This is a queryable object that other parts of keystone can use to reason about a user’s receipt.
expires_at¶issued_at¶mint(receipt_id, issued_at)[source]¶Set the id and issued_at attributes of a receipt.
The process of building a Receipt requires setting attributes about the
partial authentication context, like user_id and methods for
example. Once a Receipt object accurately represents this information
it should be “minted”. Receipt are minted when they get an id
attribute and their creation time is recorded.
required_methods¶user¶user_domain¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.