authEntries

fun EntryProviderScope<NavKey>.authEntries(navigator: Navigator, onShowSnackbar: suspend (String, SnackbarAction, Throwable?) -> Boolean)

Registers the signed-out destinations.

These live in a navigation graph of their own, shown only while the user is signed out. Nothing navigates from here into the signed-in graph: the app swaps graphs when the auth state changes, so no stale back stack survives signing in or out.

Parameters

navigator

Used to move between sign in and sign up.

onShowSnackbar

Shows a message, returning true if the action was taken.