fhir_auth 0.5.0-4 fhir_auth: ^0.5.0-4 copied to clipboard
A Dart/Flutter package for authorization & authentication, includes SMART on FHIR and Google sign-in
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fhir_auth
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
fhir_auth: ^0.5.0-4
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fhir_auth/dstu2.dart';
import 'package:fhir_auth/dstu2/request/fhir_request.dart';
import 'package:fhir_auth/dstu2/request/fhir_request.freezed.dart';
import 'package:fhir_auth/dstu2/scopes/clinical_scope.dart';
import 'package:fhir_auth/dstu2/scopes/scopes.dart';
import 'package:fhir_auth/dstu2/scopes/scopes.freezed.dart';
import 'package:fhir_auth/dstu2/smart_client/smart_client.dart';
import 'package:fhir_auth/dstu2/smart_client/smart_mobile_client.dart';
import 'package:fhir_auth/dstu2/smart_client/smart_web_client.dart';
import 'package:fhir_auth/enums/compartment.dart';
import 'package:fhir_auth/enums/enums.dart';
import 'package:fhir_auth/enums/enums_to_string.dart';
import 'package:fhir_auth/enums/mode.dart';
import 'package:fhir_auth/enums/restful_request.dart';
import 'package:fhir_auth/enums/summary.dart';
import 'package:fhir_auth/fhir_client/export.dart';
import 'package:fhir_auth/fhir_client/fhir_client.dart';
import 'package:fhir_auth/fhir_client/gcs_client.dart';
import 'package:fhir_auth/fhir_client/insecure_fhir_client.dart';
import 'package:fhir_auth/globals.dart';
import 'package:fhir_auth/r4.dart';
import 'package:fhir_auth/r4/request/fhir_request.dart';
import 'package:fhir_auth/r4/request/fhir_request.freezed.dart';
import 'package:fhir_auth/r4/scopes/clinical_scope.dart';
import 'package:fhir_auth/r4/scopes/scopes.dart';
import 'package:fhir_auth/r4/scopes/scopes.freezed.dart';
import 'package:fhir_auth/r4/smart_client/smart_client.dart';
import 'package:fhir_auth/r4/smart_client/smart_mobile_client.dart';
import 'package:fhir_auth/r4/smart_client/smart_web_client.dart';
import 'package:fhir_auth/r5.dart';
import 'package:fhir_auth/r5/request/fhir_request.dart';
import 'package:fhir_auth/r5/request/fhir_request.freezed.dart';
import 'package:fhir_auth/r5/scopes/clinical_scope.dart';
import 'package:fhir_auth/r5/scopes/scopes.dart';
import 'package:fhir_auth/r5/scopes/scopes.freezed.dart';
import 'package:fhir_auth/r5/smart_client/smart_client.dart';
import 'package:fhir_auth/r5/smart_client/smart_mobile_client.dart';
import 'package:fhir_auth/r5/smart_client/smart_web_client.dart';
import 'package:fhir_auth/stu3.dart';
import 'package:fhir_auth/stu3/request/fhir_request.dart';
import 'package:fhir_auth/stu3/request/fhir_request.freezed.dart';
import 'package:fhir_auth/stu3/scopes/clinical_scope.dart';
import 'package:fhir_auth/stu3/scopes/scopes.dart';
import 'package:fhir_auth/stu3/scopes/scopes.freezed.dart';
import 'package:fhir_auth/stu3/smart_client/smart_client.dart';
import 'package:fhir_auth/stu3/smart_client/smart_mobile_client.dart';
import 'package:fhir_auth/stu3/smart_client/smart_web_client.dart';