Class OAuthCredentialsProvider

java.lang.Object
io.camunda.client.impl.oauth.OAuthCredentialsProvider
All Implemented Interfaces:
CredentialsProvider

@ThreadSafe public final class OAuthCredentialsProvider extends Object implements CredentialsProvider
This class is thread-safe in terms of the next: 1. If you are trying to modify headers of your request from the several threads there would be sequential calls to the cache 2. If the cache hasn't a valid token and you are calling from several threads there would be just one call to the Auth server