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(@NonNull AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
Create a new instance.
|
public TokenRefreshRetrier(@NonNull
@NonNull AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
Create a new instance.
authenticationDetailsProvider - The authentication provider used by the client.Copyright © 2016–2021. All rights reserved.