We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Under certain circumstances it is useful to be able to provide a supplier for oauth access tokens with using a RestClient based Java client.
The ApiClient currently supports setAccessToken(String) method - this is extended so that a setAccessToken(Supplier<String>) can be invoked.
setAccessToken(String)
setAccessToken(Supplier<String>)
This was already implemented for RestTemplate OAuth or RestClient HttpBearerAuth.
The text was updated successfully, but these errors were encountered:
(working on a fix for this)
Sorry, something went wrong.
Add support for a token supplier to OAuth based RestClient clients. (#…
c70b078
…19944) Fixes #19943
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
Under certain circumstances it is useful to be able to provide a supplier for oauth access tokens with using a RestClient based Java client.
Describe the solution you'd like
The ApiClient currently supports
setAccessToken(String)
method - this is extended so that asetAccessToken(Supplier<String>)
can be invoked.Additional context
This was already implemented for RestTemplate OAuth or RestClient HttpBearerAuth.
The text was updated successfully, but these errors were encountered: