This model deals with the user consent.
The consent can be given and revoked and the object needs to be signed by the user.
When the consent is given data is shared with a predefined entity. When the consent is revoked this sharing needs to stop.
The application needs to take care of the previous tasks. Therefore it can:
consentState
Static
Readonly
The init function is only called after ONE is initialized
It updates the state from storage if no consent changes where queued. Else it writes the queue to storage
This model deals with the user consent.
The consent can be given and revoked and the object needs to be signed by the user.
When the consent is given data is shared with a predefined entity. When the consent is revoked this sharing needs to stop.
The application needs to take care of the previous tasks. Therefore it can:
consentState
to see the current consent state