public class TokenRefreshRetrier extends BmcGenericRetrier
A custom retrier that refreshes tokens and retries the operation in case of authentication failures. This retrier will make at max 2 attempts with no delay between the retried requests.
| Constructor and Description |
|---|
TokenRefreshRetrier(AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
Create a new instance.
|
doFunctionCall, doFunctionCallAsync, execute, executeAsync, getRetryCondition, getWaiterpublic TokenRefreshRetrier(@Nonnull
AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
Create a new instance.
authenticationDetailsProvider - The authentication provider used by the client.Copyright © 2016–2024. All rights reserved.