Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { TokenEndpoint string `json:"token_endpoint"` AuthorizationEndpoint string `json:"authorization_endpoint"` }
Configuration represents the discovered SMART on FHIR configuration for the SMART on FHIR client. See https://build.fhir.org/ig/HL7/smart-app-launch/conformance.html#metadata
func DiscoverConfiguration ¶
func DiscoverConfiguration(fhirBaseURL *url.URL) (*Configuration, error)
DiscoverConfiguration retrieves the SMART on FHIR configuration from the given FHIR base URL. It is expected to be found at `/.well-known/smart-configuration`. See https://build.fhir.org/ig/HL7/smart-app-launch/app-launch.html#retrieve-well-knownsmart-configuration
Click to show internal directories.
Click to hide internal directories.