Method FromOAuthError(string)
The verdict an OAuth error value states, per RFC 6749 §5.2 and RFC 6750 §3.1.
This is the reading the HTTP and gRPC facades already applied, moved here rather than rewritten:
the point of this type is that the three transports agree, and «agree» means on what shipped, not
on a fresh opinion. RFC 6749 answers most of these with 400, so anything not named below is a
defect in the request — the reading that keeps an unknown error visible instead of reporting it
as our own failure.
This path runs only when Core stated no status code. Where Core did state one it is the code that
decides, and that is what keeps rate_limited — a value no RFC names — from reading as a
malformed request.
public static IdentityVerdictKind FromOAuthError(string error)