fhir_auth 0.9.4 fhir_auth: ^0.9.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.9.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/fhir_client/authenticate/authenticate.dart';
import 'package:fhir_auth/fhir_client/authenticate/base_authentication.dart';
import 'package:fhir_auth/fhir_client/authenticate/mobile_authentication.dart';
import 'package:fhir_auth/fhir_client/authenticate/smart_authorization_code_grant.dart';
import 'package:fhir_auth/fhir_client/authenticate/web_authentication.dart';
import 'package:fhir_auth/fhir_client/epic_fhir_client.dart';
import 'package:fhir_auth/fhir_client/export.dart';
import 'package:fhir_auth/fhir_client/fhir_client.dart';
import 'package:fhir_auth/fhir_client/gcp_fhir_client.dart';
import 'package:fhir_auth/fhir_client/secure_fhir_client.dart';
import 'package:fhir_auth/fhir_client/smart_fhir_client.dart';
import 'package:fhir_auth/main.dart';
import 'package:fhir_auth/r4.dart';
import 'package:fhir_auth/r5.dart';
import 'package:fhir_auth/scopes/dstu2/clinical_scope.dart';
import 'package:fhir_auth/scopes/dstu2/scopes.dart';
import 'package:fhir_auth/scopes/dstu2/scopes.freezed.dart';
import 'package:fhir_auth/scopes/r4/clinical_scope.dart';
import 'package:fhir_auth/scopes/r4/scopes.dart';
import 'package:fhir_auth/scopes/r4/scopes.freezed.dart';
import 'package:fhir_auth/scopes/r5/clinical_scope.dart';
import 'package:fhir_auth/scopes/r5/scopes.dart';
import 'package:fhir_auth/scopes/r5/scopes.freezed.dart';
import 'package:fhir_auth/scopes/stu3/clinical_scope.dart';
import 'package:fhir_auth/scopes/stu3/scopes.dart';
import 'package:fhir_auth/scopes/stu3/scopes.freezed.dart';
import 'package:fhir_auth/stu3.dart';