Consume https://github.com/IronCoreLabs/ironcore-id/pull/853. `ironweb` will have this functionality before anything else, see it to try to have a consistent API.