Make the concept of "supportedOptions" available to all
View and Validator (at least from Neos.Flow) uses the concept of $supportedOptions and have a method for validating given options.
In a project I find myself copying this great concept and found my self wondering, if it can be made available for other users of the Flow Framework?
And maybe used in AuthenticationProvide and we create a API for it
Options::fromArray(..$options)
similar to the work we do with Roles API in the #1939 task
What about https://symfony.com/doc/current/components/options_resolver.html ? (didn't test)
The symfony OptionResolver is quite nice. But if we use it in the core directly, we will gain another dependency. Especially the OptionResolver proved to be extremely stable during the last years, though.