[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 <firstname.lastname@example.org>
Commit-Queue: Chris Lewis <email@example.com>
3 files changed