SecureFhirClient constructor

SecureFhirClient({
  1. required FhirUri fhirUri,
  2. String? clientId,
  3. FhirUri? redirectUri,
  4. List<String>? scopes,
  5. String? launch,
  6. Map<String, String>? authHeaders,
  7. String? secret,
})

Implementation

SecureFhirClient({
  required super.fhirUri,
  this.clientId,
  this.redirectUri,
  List<String>? scopes,
  super.launch,
  this.authHeaders,
  this.secret,
}) : super(
        scopes: ['openid', 'profile', if (scopes != null) ...scopes]
            .toSet()
            .toList(),
      );