JSON text or an array
Optionalopts: any
clientTypes (the client's registered types, [] for any),
profileTypes (the selected authorization server's list, or null) and
builtIn, the openid_credential check
{ ok: true, details: null } when nothing was sent, { ok: true, details, resolved } when every detail passed, or a refusal whose error
is the sentence for invalid_authorization_details
Parses and checks one
authorization_detailsvalue. Never throws.