Scopes constructor

Scopes({
  1. List<ClinicalScope>? clinicalScopes,
  2. bool? openid,
  3. bool? fhirUser,
  4. bool? profile,
  5. bool? offlineAccess,
  6. bool? onlineAccess,
  7. bool? ehrLaunch,
  8. bool? patientLaunch,
  9. bool? encounterLaunch,
  10. bool? needPatientBanner,
  11. bool? smartOrchestrateLaunch,
  12. String? intent,
  13. List<String>? additional,
})

Implementation

factory Scopes({
  /// see the clinical scopes class for details
  List<ClinicalScope>? clinicalScopes,

  /// permission to retrieve information about the current logged-in user
  /// almost always coupled with fhirUser
  bool? openid,

  /// permission to retrieve information about the current logged-in user
  /// almost always coupled with openid
  bool? fhirUser,

  /// this is being deprecated but still commonly required
  bool? profile,

  /// will this app require offline access? specifies the kind of token that
  /// will be returned
  bool? offlineAccess,

  /// will this app require online access? specifies the kind of token that
  /// will be returned
  bool? onlineAccess,

  ///if this app is going to be launched from within an EHR
  bool? ehrLaunch,

  /// if the context of this app is about a specific patient
  bool? patientLaunch,

  /// if the context of this app is in regards to a specific encounter
  bool? encounterLaunch,

  /// does this request need a patient banner
  bool? needPatientBanner,

  /// I'm not actually sure what this does
  bool? smartOrchestrateLaunch,

  /// String value describing the intent of the application launch
  String? intent,
  List<String>? additional,
}) = _Scopes;