-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update cloud-events.md #208
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -286,6 +286,29 @@ The application then may get the latest terms of use through the [Get Terms Of U | |
} | ||
``` | ||
|
||
## Consent update events | ||
|
||
Fired whenever a user grants or revokes a consent. A whole deletion of a consent triggers a revoked event. | ||
Applications that are part of any of the users subscriptions receive a notification. The application can then retrieve the latest consense status of the user. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "Application is part of users subscription" ? Unclear what you mean. Further: get the consent information, such as consented scope, from the Consent API. |
||
|
||
`tapio.consentinator.consent.revoked` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The cloud event type should not expose any reference to internal services. The event type should start with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. According to our discussions in the integration meeting, start should be |
||
|
||
```json | ||
{ | ||
"subjectId": "c2650bda-d88e-471b-b4b0-5da770ad03ba", | ||
"userEmail": "consenter@tapio.one" | ||
} | ||
``` | ||
|
||
`tapio.consentinator.consent.granted` | ||
|
||
```json | ||
{ | ||
"subjectId": "c2650bda-d88e-471b-b4b0-5da770ad03ba", | ||
"userEmail": "consenter@tapio.one" | ||
} | ||
``` | ||
|
||
## Service Partner Relation Changed Event | ||
|
||
Fired when something about the service partner relation of a subscription has been changed. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to remove the word "whole".