# keystone.models.receipt_model module

Unified in-memory receipt model.

class keystone.models.receipt_model.ReceiptModel

  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.

  property expires_at
  property issued_at
  mint(receipt_id, issued_at)

    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.

  property required_methods
  property user
  property user_domain

this page last updated: 2026-04-01 20:09:17

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug