ConsentFlow Overview
Last updated
Was this helpful?
Last updated
Was this helpful?
The Consent Flow system allows organizations to create contracts that users can consent to, enabling controlled data sharing and credential issuance.
The Consent Flow Contract system manages permissions and data sharing between profiles using a graph-based data model. It tracks what data can be shared, who has consented to share it, and maintains a transaction history of all consent-related activities.
The system consists of the following key components:
Profiles: Users who create contracts or consent to contracts
Contracts: Define data access requirements and permissions
Terms: Record a profile's consent to a contract with specific sharing preferences
Transactions: Record actions related to terms (consent, withdraw, update, sync, write)
Credentials: Can be issued or synced through contract consent
Auto-Boosts: Credentials automatically issued when a user consents to a contract
When a profile consents to a contract, the following steps occur:
The consent flow includes:
Verifying the terms are valid for the contract
Creating a terms record with status (live/stale)
Recording a consent transaction
Processing any auto-boosts (if configured)
Notifying the contract owner
Options when consenting:
expiresAt: Date when the consent expires
oneTime: If true, marks terms as "stale" after consent