Skip to main content

fhir_auth_core 0.15.0 copy "fhir_auth_core: ^0.15.0" to clipboard
fhir_auth_core: ^0.15.0 copied to clipboard

SMART on FHIR authentication in pure Dart (OAuth 2.0, PKCE, ID-token checks, backend services, same-window browser login), for every FHIR version. No Flutter; the Flutter package fhir_auth builds on it.

fhir_auth_core #

0.15.0 #

  • First release. The pure-Dart part of fhir_auth 0.14.0, moved out so it can be used without Flutter (a plain Dart web page, a server, a command-line tool): SMART discovery, OAuth 2.0 with PKCE, ID-token checks, token refresh, introspection and revocation, backend services, sessions, audit logging, and the same-window browser login (beginRedirectLogin / completeRedirectLogin, TabTokenStorage, currentBrowserWindow()).
  • Unlike fhir_auth, nothing that needs a platform is chosen for you: FhirAuthClient and SmartFhirClient take a tokenStorage, and SmartFhirClient.login() for a user login needs an authenticator (without one it throws ConfigurationException on configurationField: 'authenticator', before any request).
  • SmartFhirClient.completeRedirectLogin takes createClient, so a package that extends SmartFhirClient gets its own type back.
0
likes
140
points
73
downloads

Documentation

API reference

Publisher

verified publisherfhirfli.dev

Weekly Downloads

SMART on FHIR authentication in pure Dart (OAuth 2.0, PKCE, ID-token checks, backend services, same-window browser login), for every FHIR version. No Flutter; the Flutter package fhir_auth builds on it.

Homepage
Repository (GitHub)
View/report issues

Topics

#fhir #smart-on-fhir #healthcare #authentication #oauth2

License

MIT (license)

Dependencies

crypto, http, jose, logging, meta, uuid, web

More

Packages that depend on fhir_auth_core