fhir_auth_core 0.15.0
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_auth0.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:FhirAuthClientandSmartFhirClienttake atokenStorage, andSmartFhirClient.login()for a user login needs anauthenticator(without one it throwsConfigurationExceptiononconfigurationField: 'authenticator', before any request). SmartFhirClient.completeRedirectLogintakescreateClient, so a package that extendsSmartFhirClientgets its own type back.