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 revoke token methods and iat claim in createtoken #121

Merged
merged 2 commits into from
May 21, 2021

Conversation

SiddhantAgarwal
Copy link
Contributor

Submit a pull request

CLA

  • I have signed the Stream CLA (required).
  • The code changes follow best practices
  • Code changes are tested (add some information if not applicable)

Description of the pull request

Adds token revocation helpers methods

  • RevokeTokens()
  • RevokeUserToken()
  • RevokeUsersTokens()

also adds a iat param in CreateToken() to be set while token generation.

@SiddhantAgarwal SiddhantAgarwal changed the title Add revoke token methods and iat claim in createtoken [CHAT-1650] Add revoke token methods and iat claim in createtoken May 11, 2021
@ferhatelmas ferhatelmas marked this pull request as ready for review May 21, 2021 09:34
Copy link
Contributor

@ferhatelmas ferhatelmas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ferhatelmas ferhatelmas merged commit 9152510 into master May 21, 2021
@mahboubii mahboubii deleted the CHAT-1650 branch October 19, 2021 09:05
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.

2 participants