fhir_auth 0.11.0-dev.1 copy "fhir_auth: ^0.11.0-dev.1" to clipboard
fhir_auth: ^0.11.0-dev.1 copied to clipboard

Platformweb

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.11.0-dev.1

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/device_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';
7
likes
130
points
143
downloads

Publisher

verified publisherfhirfli.dev

Weekly Downloads

A Dart/Flutter package for authorization & authentication, includes SMART on FHIR and Google sign-in

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, crypto, fhir, flutter, flutter_web_auth_2, flutter_web_plugins, freezed_annotation, google_sign_in, http, http_parser, jwt_decoder, oauth2, url_launcher

More

Packages that depend on fhir_auth