PendAndRedirectTo
data class PendAndRedirectTo(val route: String, val metadata: Map<String, String> = emptyMap(), val displayHint: String? = null) : GuardResult(source)
Store the original navigation as a PendingNavigation in state, then redirect.
The pending navigation can be resumed after authentication via navigation { clearBackStack(); resumePendingNavigation() }.
Parameters
route
The route to redirect to when guard denies access
metadata
Arbitrary string key-value pairs stored with the pending navigation
displayHint
Optional human-readable hint shown during the auth flow