UNPKG

ng-smart-on-fhir

Version:

[![SRDC](https://www.srdc.com.tr/wp-content/uploads/2014/12/srdc-wp.png)](https://srdc.com.tr/en)

11 lines (10 loc) 675 B
import { Routes } from "@angular/router"; /** * Routes wrapper to add required components to execute Smart App Launch and Login flows * @param routes - Other application routes * @param redirectTo - Redirection after login * @param method - Allowed authentication flows: launch/client(login)/both * @param redirectToLoginIfUnauthorized - If true, adds auth guards to the application components * @param enableShc - If true, offline mode is allowed using Smart Health Cards */ export declare const withSmartHandlerRoutes: (routes: Routes, redirectTo: string, method: 'launch' | 'client' | 'both', redirectToLoginIfUnauthorized: boolean, enableShc?: boolean) => Routes;