Skip to content

Commit

Permalink
Add fhir_server to LaunchOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-ignatov committed May 29, 2024
1 parent 544a31e commit dde3447
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/isomorphic/LaunchOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ export default class LaunchOptions

pkce: SMART.PKCEValidation;

fhir_server?: string;


constructor(input: string | SMART.LaunchParams)
{
Expand All @@ -87,6 +89,7 @@ export default class LaunchOptions
this.jwks = input.jwks || ""
this.client_type = input.client_type || "public"
this.pkce = input.pkce || "auto"
this.fhir_server = input.fhir_server || ""
this.provider.set(input.provider || "");
this.patient.set(input.patient || "");
}
Expand Down Expand Up @@ -114,7 +117,8 @@ export default class LaunchOptions
jwks_url : this.jwks_url,
jwks : this.jwks,
client_type : this.client_type,
pkce : this.pkce
pkce : this.pkce,
fhir_server : this.fhir_server
}
}
}

0 comments on commit dde3447

Please sign in to comment.