core.medplumclientoptions.onunauthenticated | Medplum
MedplumClientOptions.onUnauthenticated property
Callback for when the client is unauthenticated.
Default is do nothing.
For client side applications, consider redirecting to a sign in page.
Signature:
onUnauthenticated?: () => void;