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

[CHAT-1650] Add user, application level token revoke helpers and iat claim in tokens #674

Merged
merged 11 commits into from
May 21, 2021

Conversation

SiddhantAgarwal
Copy link
Contributor

@SiddhantAgarwal SiddhantAgarwal commented May 6, 2021

CLA

  • I have signed the Stream CLA (required).
  • Code changes are tested

Description of the changes, What, Why and How?

Changelog

  • createToken add support to have iat claim while generating tokens.
  • added revokeTokens() method to revoke/unrevoke tokens on an application level.
  • added revokeUserToken() method to revoke/unrevoke tokens on user level.
  • added revokenUsersToken() method to revoke/unrevoke tokens for multiple users at once.

@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2021

Size Change: +2.79 kB (1%)

Total Size: 227 kB

Filename Size Change
dist/browser.es.js 49.4 kB +610 B (1%)
dist/browser.full-bundle.min.js 28.3 kB +264 B (0%)
dist/browser.js 49.9 kB +635 B (1%)
dist/index.es.js 49.4 kB +629 B (1%)
dist/index.js 50 kB +655 B (1%)

compressed-size-action

@SiddhantAgarwal SiddhantAgarwal changed the title Add user, application level token revoke helpers and iat claim in tokens [CHAT-1650] Add user, application level token revoke helpers and iat claim in tokens May 6, 2021
src/client.ts Outdated Show resolved Hide resolved
src/client.ts Outdated Show resolved Hide resolved
@SiddhantAgarwal SiddhantAgarwal marked this pull request as ready for review May 20, 2021 07:48
src/client.ts Outdated Show resolved Hide resolved
@AnatolyRugalev AnatolyRugalev merged commit 3b504e6 into master May 21, 2021
@AnatolyRugalev AnatolyRugalev deleted the CHAT-1650 branch May 21, 2021 07:41
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

Successfully merging this pull request may close these issues.

3 participants