Skip to main content

Module client

Module client 

Source
Expand description

Builds the authenticated FHIR HTTP client used by commands that talk to a server (api, testscript, hl7v2), based on the active profile’s auth mode.

Structs§

TokenResponseBody 🔒

Functions§

config_to_fhir_http_state 🔒
fetch_discovery_document 🔒
Fetches (and caches on CliState) the OIDC discovery document for the active profile.
fhir_client 🔒
refresh_access_token 🔒
Exchanges a refresh token for a new access token, persisting the refreshed tokens to disk.
unix_now 🔒