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

Add support for Async JsonWebTokenSupplier #32

Open
desislava-marinova opened this issue Nov 26, 2019 · 0 comments
Open

Add support for Async JsonWebTokenSupplier #32

desislava-marinova opened this issue Nov 26, 2019 · 0 comments
Labels

Comments

@desislava-marinova
Copy link

Ditto currently supports access token authentication using only synchronous JsonWebTokenSupplier. Refresh token operation is supposed to be asynchronous one and it will be good if a support for asynchronous JsonWebTokenSupplier is provided, e.g. something like

public interface AsyncJsonWebTokenSupplier extends Supplier<CompletionStage<JsonWebToken>> {
  CompletionStage<JsonWebToken> get();
}
@jokraehe jokraehe added the java label Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants