code: @VisibleForTesting
    boolean isCredentialRefreshable(Credential credential) {
      return credential.getAccessToken() == null || credential.getExpiresInSeconds() != null
          && credential.getExpiresInSeconds() <= refreshWindowSeconds;
    }
docs: Returns {@code true} if the credential can and should be refreshed.