Skip to content

Support promise, async/await for some important actions like sign, verify jwt. #736

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

Closed
mattnguyengit opened this issue Aug 5, 2020 · 1 comment

Comments

@mattnguyengit
Copy link

Describe the problem you'd like to have solved

I usually use sign, verify function for my authentication process by synchronous syntax. I don't know the process is heavy or not but better to use asynchronous for it.

In documentation, I see we have callback syntax but it is not popular on modern code these days.

@panva
Copy link
Contributor

panva commented Aug 5, 2020

Duplicate of #111

@panva panva marked this as a duplicate of #111 Aug 5, 2020
@panva panva closed this as completed Aug 5, 2020
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

2 participants