[rw] Call BCID endpoint
This change adds functionality to call the BCID endpoint and read the
response. This is essentially impossible to test locally, the
allowlists/scopes/token exchange hoops are too numerous and brittle. The
unit test just makes sure that a reasonable request is able to be
unmarshaled into a reasonable response.
Unfortunately this is going to have to be a test in production thing.
Reviewed-by: Nathan Mulcahey <email@example.com>
Commit-Queue: Chris Lewis <firstname.lastname@example.org>
3 files changed