Closed GregDThomas closed 5 days ago
Under certain circumstances it is useful to be able to provide a supplier for bearer tokens with using a RestTemplate 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>)
(working on a fix for this)
Is your feature request related to a problem? Please describe.
Under certain circumstances it is useful to be able to provide a supplier for bearer tokens with using a RestTemplate 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.