Themen / adapter layer designZugeordnete Aussage
Adapter follows server authorization behavior
For authorization, Harvey’s adapter layer follows the behavior a server exposes: it can discover metadata directly when no challenge is sent, accept valid tokens returned with either 200 or 201, and request the scopes the server advertises.
Hinter der geäußerten Meinung
Übersetzungen dienen dem Leseverständnis; die Originalauszüge bleiben die Quellenevidence.
How We Built Harvey’s Connector Library
Originalauszug
We handle these differences in an adapter layer. For authorization, we follow the behavior a server actually exposes: we can discover metadata directly when it does not send a challenge, accept valid tokens returned with either 200 or 201, and request the scopes it advertises.