docs: public static Optional<MultifactorAuthenticationProvider> resolveProvider(final Map<String, MultifactorAuthenticationProvider> providers,
                                                                                final Collection<String> requestMfaMethod) {
          return providers.values()
              .stream()
              .filter(p -> requestMfaMethod.stream().filter(Objects::nonNull).anyMatch(p::matches))
              .findFirst();
      }