docs: private static String[] toResources(final Object[] args) {
          val object = args[0];
          if (object instanceof AuthenticationTransaction) {
              val transaction = AuthenticationTransaction.class.cast(object);
              return new String[]{SUPPLIED_CREDENTIALS + transaction.getCredentials()};
          }
          return new String[]{SUPPLIED_CREDENTIALS + CollectionUtils.wrap(object)};
      }