aries_cloudagent.messaging.presentations.models package¶
Submodules¶
aries_cloudagent.messaging.presentations.models.presentation_exchange module¶
Handle presentation exchange information interface with non-secrets storage.
-
class
aries_cloudagent.messaging.presentations.models.presentation_exchange.
PresentationExchange
(*, presentation_exchange_id: str = None, connection_id: str = None, thread_id: str = None, initiator: str = None, state: str = None, presentation_request: dict = None, presentation: dict = None, verified: str = None, error_msg: str = None, **kwargs)[source]¶ Bases:
aries_cloudagent.messaging.models.base_record.BaseRecord
Represents a presentation exchange.
-
INITIATOR_EXTERNAL
= 'external'¶
-
INITIATOR_SELF
= 'self'¶
-
LOG_STATE_FLAG
= 'debug.presentations'¶
-
class
Meta
[source]¶ Bases:
object
PresentationExchange metadata.
-
schema_class
= 'PresentationExchangeSchema'¶
-
-
RECORD_ID_NAME
= 'presentation_exchange_id'¶
-
RECORD_TYPE
= 'presentation_exchange'¶
-
STATE_PRESENTATION_RECEIVED
= 'presentation_received'¶
-
STATE_PRESENTATION_SENT
= 'presentation_sent'¶
-
STATE_REQUEST_RECEIVED
= 'request_received'¶
-
STATE_REQUEST_SENT
= 'request_sent'¶
-
STATE_VERIFIED
= 'verified'¶
-
WEBHOOK_TOPIC
= 'presentations'¶
-
presentation_exchange_id
¶ Accessor for the ID associated with this exchange.
Accessor for the record tags generated for this presentation exchange.
-
record_value
¶ Accessor for JSON record value generated for this presentation exchange.
-
-
class
aries_cloudagent.messaging.presentations.models.presentation_exchange.
PresentationExchangeSchema
(*args, **kwargs)[source]¶ Bases:
aries_cloudagent.messaging.models.base_record.BaseRecordSchema
Schema for serialization/deserialization of presentation exchange records.
-
class
Meta
[source]¶ Bases:
object
PresentationExchangeSchema metadata.
-
model_class
¶ alias of
PresentationExchange
-
-
connection_id
¶ Used by autodoc_mock_imports.
-
error_msg
¶ Used by autodoc_mock_imports.
-
initiator
¶ Used by autodoc_mock_imports.
-
presentation
¶ Used by autodoc_mock_imports.
-
presentation_exchange_id
¶ Used by autodoc_mock_imports.
-
presentation_request
¶ Used by autodoc_mock_imports.
-
state
¶ Used by autodoc_mock_imports.
-
thread_id
¶ Used by autodoc_mock_imports.
-
verified
¶ Used by autodoc_mock_imports.
-
class