Skip to content
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

channel should notify upstream about revoked token #6

Open
petri opened this issue Mar 2, 2022 · 0 comments
Open

channel should notify upstream about revoked token #6

petri opened this issue Mar 2, 2022 · 0 comments

Comments

@petri
Copy link
Member

petri commented Mar 2, 2022

The topic v2.system.token_revoked.{id} is implicitly subscribed by all channels. Details in https://developer.genesys.cloud/api/rest/v2/notifications/available_topics .

Suggest e.g. ChannelTokenRevoked(ChannelException).

Message schema:

{
  "channelId": "string",
  "systemTopicType": {
    "enum": "no_longer_subscribed|subscription_changed|token_revoked"
  },
  "correlationId": "string",
  "organizationId": "string",
  "userId": "string",
  "oauthClientId": "string",
  "reason": {
    "enum": "another_channel_subscribed|user_tokens_revoked"
  },
  "message": "string",
  "data": "object"
}```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant