Interface: HttpReply
Defined in: packages/identity/src/transport.ts:34
The parts of a provider's answer the adapters read. Redirects are not followed, and
a 4xx or 5xx resolves rather than rejects: the status is for expectStatus to judge,
so the transport rejects only when no answer arrived.
Properties
body
readonlybody:unknown
Defined in: packages/identity/src/transport.ts:38
The parsed JSON body; undefined when empty or not JSON.
location
readonlylocation:string|undefined
Defined in: packages/identity/src/transport.ts:44
The Location header, which is where Keycloak and WSO2 name a created object: a
create answers 201 with the new object's URL there, and the adapter reads the id
from its last path segment. undefined when the header is absent.
status
readonlystatus:number
Defined in: packages/identity/src/transport.ts:36
The HTTP status; 0 only if Node reported none.