GcpFhirClient constructor

GcpFhirClient({
  1. FhirUri? redirectUri,
  2. required FhirUri fhirUri,
  3. String? clientId,
  4. List<String>? scopes = const ['openid', 'profile', 'email', 'https://www.googleapis.com/auth/cloud-platform', 'https://www.googleapis.com/auth/userinfo.profile'],
  5. String? launch,
})

Implementation

GcpFhirClient({
  super.redirectUri,
  required super.fhirUri,
  super.clientId,
  super.scopes = const [
    'openid',
    'profile',
    'email',
    'https://www.googleapis.com/auth/cloud-platform',
    'https://www.googleapis.com/auth/userinfo.profile',
  ],
  super.launch,
}) : _googleSignIn = GoogleSignIn(
        scopes: scopes ?? [],
        clientId: kIsWeb ? clientId : null,
      );