core.medplumclientoptions.onunauthenticated
Home > @medplum/core > MedplumClientOptions > onUnauthenticated
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;