It would be nice to have a function that supports the behavior outlined in RFC 7591.
Any plans for this?