Class TokenRefreshRetrier


  • 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 Detail

      • TokenRefreshRetrier

        public TokenRefreshRetrier​(@Nonnull
                                   AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
        Create a new instance.
        Parameters:
        authenticationDetailsProvider - The authentication provider used by the client.