OAuthHttpResponse
Defined in: packages/auth/src/oauth/http-client.ts:11
Minimal HTTP client abstraction for OAuth flows.
OAuth providers depend on this interface (not on fetch directly) so that
token exchange and profile fetches are trivially mockable in unit tests
without spinning up a server or stubbing globals. The default
FetchOAuthHttpClient is a thin wrapper over the platform fetch
(Node 18+ ships it globally).
Properties
Section titled “Properties”body:
unknown
Defined in: packages/auth/src/oauth/http-client.ts:14
ok:
boolean
Defined in: packages/auth/src/oauth/http-client.ts:13
status
Section titled “status”status:
number
Defined in: packages/auth/src/oauth/http-client.ts:12